summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-03-05 19:05:29 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2023-03-05 19:05:29 +0100
commit44ac82d9c5f5c246dba82c401619f7d48daadfa7 (patch)
tree247679a95f7731acddd106dd184631a91b3e42a7 /t
parentda8af582470ee67dae23330efdc70d048e30c359 (diff)
made Extract read test deterministic across all extractors
Diffstat (limited to 't')
-rw-r--r--t/Extract.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/t/Extract.t b/t/Extract.t
index 3a18395..f78b154 100644
--- a/t/Extract.t
+++ b/t/Extract.t
@@ -9,9 +9,9 @@ use List::Util 'min';
my $EXTRACT = {
- perl_mail_box => 'perl script/qmauth.pl',
- python_mailbox => 'python script/qmauth.py',
- rust_maildir => 'extract/target/debug/jwebmail-extract',
+ perl_mail_box => 'script/qmauth.pl',
+ python_mailbox => 'script/qmauth.py',
+ rust_maildir => 'bin/jwebmail-extract',
}->{python_mailbox};
my $MAILDIR = 't/';
my $SYS_USER = $ENV{USER};
@@ -91,10 +91,10 @@ subtest read => sub {
is_deeply(
$result->{head}{from},
- [{address => 'xy@example.com', display_name => 'Moderator-Address'}],
+ [{address => 'ex@example.com', display_name => 'exmpl'}],
);
ok(exists $result->{head}{date});
- is($result->{head}{date}, '1994-03-22T13:34:51+00:00');
+ is($result->{head}{date}, '1993-02-01T16:05:06+00:00');
};
done_testing;