diff options
author | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-04-25 16:52:57 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de> | 2022-04-25 16:52:57 +0200 |
commit | a97f1a5eb6649e93bfd6584ed590e37c1290755f (patch) | |
tree | fe5858e3d1f23ee991566db6c0995604b0b40910 /t | |
parent | 5c3fa491eebc690fbac8a963996a0244882813c7 (diff) |
Refactored ReadMails into a role
Diffstat (limited to 't')
-rw-r--r-- | t/Webmail.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Webmail.t b/t/Webmail.t index 06efd49..4cef937 100644 --- a/t/Webmail.t +++ b/t/Webmail.t @@ -5,7 +5,7 @@ use utf8; use Test::More; use Test::Mojo; -use JWebmail::Model::Driver::MockJSON; +use JWebmail::Model::ReadMails::MockJSON; use constant DEFAULT_LANGUAGE => 'en'; @@ -14,7 +14,7 @@ my $pw = JWebmail::Model::Driver::MockJSON::VALID_PW; my $t = Test::Mojo->new('JWebmail', { - development => { use_read_mock => 'json', block_writes => 1 }, + development => { read_mock => 'JWebmail::Model::ReadMails::MockJSON', block_writes => 1 }, i18n => { default_language => DEFAULT_LANGUAGE }, }); |