diff options
Diffstat (limited to 'lib/JWebmail/Model/ReadMails')
-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 = ( |