From 45c55ee591d9aaddaeeffac9240e310951f71fe0 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 9 Sep 2023 14:36:45 +0200 Subject: fix tests and tests dependencies --- t/Extract.t | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 't/Extract.t') diff --git a/t/Extract.t b/t/Extract.t index f7c61ee..3869b39 100644 --- a/t/Extract.t +++ b/t/Extract.t @@ -7,12 +7,10 @@ use Test::More; use JSON::PP 'decode_json'; use List::Util 'min'; +use JWebmail::Config 'MAILDIR_EXTRACTOR'; -my $EXTRACT = { - perl_mail_box => 'script/qmauth.pl', - python_mailbox => 'script/qmauth.py', - rust_maildir => 'bin/jwebmail-extract', -}->{python_mailbox}; + +my $EXTRACT = MAILDIR_EXTRACTOR; my $MAILDIR = 't/testdata'; my $SYS_USER = $ENV{USER}; my $MAIL_USER = 'maildir'; -- cgit v1.2.3