From 44ac82d9c5f5c246dba82c401619f7d48daadfa7 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 5 Mar 2023 19:05:29 +0100 Subject: made Extract read test deterministic across all extractors --- t/Extract.t | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 't/Extract.t') 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; -- cgit v1.2.3