From 278b76fabf31abe8fc4fbe6ca1c0ad6af830fcb7 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sun, 10 Sep 2023 15:39:25 +0200 Subject: added test pam to replace MockMaildir ReadMail implementation --- t/Webmail.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 't/Webmail.t') 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', }); -- cgit v1.2.3