about summary refs log tree commit homepage
path: root/t/lei-q-remote-import.t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-28 00:17:25 +0000
committerEric Wong <e@80x24.org>2021-03-28 02:43:54 +0000
commit29792d70a5d8305f68521664a7fa2e0fe54ff291 (patch)
tree441c0aafeef6cf9639360308371846cdaf003528 /t/lei-q-remote-import.t
parentba6f3d8379fb9ee8d0f18e3e0d6d77386daf79c9 (diff)
downloadpublic-inbox-29792d70a5d8305f68521664a7fa2e0fe54ff291.tar.gz
This makes it easier to manage test dependencies on systems
where optional stuff isn't installed.  This fixes some lei tests
which didn't check for Plack before starting -httpd, and ensures
Parse::RecDescent is available for -imapd in case
Mail::IMAPClient stops using it.
Diffstat (limited to 't/lei-q-remote-import.t')
-rw-r--r--t/lei-q-remote-import.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/lei-q-remote-import.t b/t/lei-q-remote-import.t
index 93828a24..32c5172b 100644
--- a/t/lei-q-remote-import.t
+++ b/t/lei-q-remote-import.t
@@ -2,8 +2,7 @@
 # Copyright (C) 2021 all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 use strict; use v5.10.1; use PublicInbox::TestCommon;
-require_git 2.6;
-require_mods(qw(json DBD::SQLite Search::Xapian));
+require_mods(qw(lei -httpd));
 use PublicInbox::MboxReader;
 my ($ro_home, $cfg_path) = setup_public_inboxes;
 my $sock = tcp_server;