From 2388747fbf954de990862a6c01713d50823e8725 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Tue, 24 Aug 2021 11:10:39 +0200 Subject: overhauled testing --- t/Webmail.t | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 't/Webmail.t') diff --git a/t/Webmail.t b/t/Webmail.t index 5409f32..21f0c19 100644 --- a/t/Webmail.t +++ b/t/Webmail.t @@ -5,16 +5,16 @@ use utf8; use Test::More; use Test::Mojo; -use JWebmail::Model::Driver::Mock; +use JWebmail::Model::Driver::MockJSON; use constant DEFAULT_LANGUAGE => 'en'; -my $user = JWebmail::Model::Driver::Mock::VALID_USER; -my $pw = JWebmail::Model::Driver::Mock::VALID_PW; +my $user = JWebmail::Model::Driver::MockJSON::VALID_USER; +my $pw = JWebmail::Model::Driver::MockJSON::VALID_PW; my $t = Test::Mojo->new('JWebmail', { - development => { use_read_mock => 1, block_writes => 1 }, + development => { use_read_mock => 'json', block_writes => 1 }, i18n => { default_language => 'en' }, }); -- cgit v1.2.3