diff options
Diffstat (limited to 't/Webmail.t')
-rw-r--r-- | t/Webmail.t | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/t/Webmail.t b/t/Webmail.t index 9218fb1..3deb547 100644 --- a/t/Webmail.t +++ b/t/Webmail.t @@ -14,9 +14,11 @@ my $pw = JWebmail::Model::ReadMails::MockJSON::VALID_PW; my $t = Test::Mojo->new('JWebmail', { - development => { read_mock => 'JWebmail::Model::ReadMails::MockJSON', block_writes => 1 }, - i18n => { default_language => DEFAULT_LANGUAGE }, - session => { secure => 'none' }, + model => { read => { devel => { driver => 'JWebmail::Model::ReadMails::MockJSON' }}, + write => { devel => { block_writes => 1 }}}, + i18n => { default_language => DEFAULT_LANGUAGE, directory => 'lib/JWebmail/I18N' }, + session => { secure => 'none' }, + defaults => { scriptadmin => 'test@example.org' }, }); $t->get_ok('/')->status_is(200); |