summaryrefslogtreecommitdiff
path: root/t/Webmail.t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2021-08-24 11:10:39 +0200
committerJannis M. Hoffmann <jannis.hoffmann@rwth-aachen.de>2021-08-24 11:10:39 +0200
commit2388747fbf954de990862a6c01713d50823e8725 (patch)
treec3b3a7dc80f1d6a978d25e3048f7a6afb9fa08e0 /t/Webmail.t
parentbf5554febae6f299c716b5a9582c6bfd6980b728 (diff)
overhauled testing
Diffstat (limited to 't/Webmail.t')
-rw-r--r--t/Webmail.t8
1 files changed, 4 insertions, 4 deletions
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' },
});