summaryrefslogtreecommitdiff
path: root/t/Webmail.t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-10 15:39:25 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-10 15:39:25 +0200
commit278b76fabf31abe8fc4fbe6ca1c0ad6af830fcb7 (patch)
treea3ca8baafd3c26b6d8df3840fe92f5e2f2dd0c34 /t/Webmail.t
parent84186e77461ddeb867fa2944dcbf45217b41b80e (diff)
added test pam to replace MockMaildir ReadMail implementation
Diffstat (limited to 't/Webmail.t')
-rw-r--r--t/Webmail.t5
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',
});