From a97f1a5eb6649e93bfd6584ed590e37c1290755f Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 25 Apr 2022 16:52:57 +0200 Subject: Refactored ReadMails into a role --- t/Webmail.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') 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 }, }); -- cgit v1.2.3