diff options
author | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-09-10 15:39:25 +0200 |
---|---|---|
committer | Jannis M. Hoffmann <jannis@fehcom.de> | 2023-09-10 15:39:25 +0200 |
commit | 278b76fabf31abe8fc4fbe6ca1c0ad6af830fcb7 (patch) | |
tree | a3ca8baafd3c26b6d8df3840fe92f5e2f2dd0c34 /t/Webmail.t | |
parent | 84186e77461ddeb867fa2944dcbf45217b41b80e (diff) |
added test pam to replace MockMaildir ReadMail implementation
Diffstat (limited to 't/Webmail.t')
-rw-r--r-- | t/Webmail.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/Webmail.t b/t/Webmail.t index c88b31a..5346d2c 100644 --- a/t/Webmail.t +++ b/t/Webmail.t @@ -1,4 +1,4 @@ -use v5.22; +use v5.24; use warnings; use utf8; @@ -14,7 +14,8 @@ my $pw = JWebmail::Model::ReadMails::MockJSON::VALID_PW; my $t = Test::Mojo->new('JWebmail', { - model => { read => { virtual_user => $ENV{USER}, mailbox_path => 't/testdata/json' }}, + model => { read => { virtual_user => $ENV{USER}, mailbox_path => 't/testdata', authenticator => 'script/testauthenticator.pl' }, + write => { sendmail => 'cat' }}, i18n => { default_language => DEFAULT_LANGUAGE }, admin_mail => 'test@example.org', }); |