From 0203fba6502916e4a6f63433fb7a26e8eff42c85 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Thu, 16 Mar 2023 17:58:58 +0100 Subject: updated manifest and fixed tests --- lib/JWebmail/Model/ReadMails/MockJSON.pm | 2 +- lib/JWebmail/Model/ReadMails/MockMaildir.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/JWebmail/Model/ReadMails') diff --git a/lib/JWebmail/Model/ReadMails/MockJSON.pm b/lib/JWebmail/Model/ReadMails/MockJSON.pm index e429d53..64d6873 100644 --- a/lib/JWebmail/Model/ReadMails/MockJSON.pm +++ b/lib/JWebmail/Model/ReadMails/MockJSON.pm @@ -26,7 +26,7 @@ sub new { bless {}, shift } sub _read_json_file { my ($file_name) = @_; - use constant PREFIX => 't/private/'; + use constant PREFIX => 't/testdata/json/'; open my $body_file, '<', PREFIX . $file_name; local $/; diff --git a/lib/JWebmail/Model/ReadMails/MockMaildir.pm b/lib/JWebmail/Model/ReadMails/MockMaildir.pm index de5c745..fc9cc4a 100644 --- a/lib/JWebmail/Model/ReadMails/MockMaildir.pm +++ b/lib/JWebmail/Model/ReadMails/MockMaildir.pm @@ -13,7 +13,7 @@ use constant { }; has user => sub { $ENV{USER} }; -has maildir => 't/'; +has maildir => 't/testdata/'; has extractor => 'python'; our %EXTRACTORS = ( -- cgit v1.2.3