diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-16 17:58:58 +0100 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-03-16 17:58:58 +0100 |
commit | 0203fba6502916e4a6f63433fb7a26e8eff42c85 (patch) | |
tree | 6048e00f585d1f92ebf060e4b29412bbbc775e41 /lib/JWebmail/Model | |
parent | 95c75ee74b2b48ee0bfe42fb5fa0f41cd3b1c193 (diff) |
updated manifest and fixed tests
Diffstat (limited to 'lib/JWebmail/Model')
-rw-r--r-- | lib/JWebmail/Model/ReadMails/MockJSON.pm | 2 | ||||
-rw-r--r-- | lib/JWebmail/Model/ReadMails/MockMaildir.pm | 2 |
2 files changed, 2 insertions, 2 deletions
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 = ( |