summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/Extract.t4
-rw-r--r--t/I18N2.t2
-rw-r--r--t/INI.t2
-rw-r--r--t/Pagination.t2
-rw-r--r--t/ViewWebmail.t2
-rw-r--r--t/Webmail.t5
6 files changed, 9 insertions, 8 deletions
diff --git a/t/Extract.t b/t/Extract.t
index 3869b39..b4c0283 100644
--- a/t/Extract.t
+++ b/t/Extract.t
@@ -1,4 +1,4 @@
-use v5.22;
+use v5.24;
use warnings;
use utf8;
@@ -13,7 +13,7 @@ use JWebmail::Config 'MAILDIR_EXTRACTOR';
my $EXTRACT = MAILDIR_EXTRACTOR;
my $MAILDIR = 't/testdata';
my $SYS_USER = $ENV{USER};
-my $MAIL_USER = 'maildir';
+my $MAIL_USER = 'mockmaildir';
my $PROG = "$EXTRACT $MAILDIR $SYS_USER $MAIL_USER";
diff --git a/t/I18N2.t b/t/I18N2.t
index 40e8623..e59c90b 100644
--- a/t/I18N2.t
+++ b/t/I18N2.t
@@ -1,4 +1,4 @@
-use v5.22;
+use v5.24;
use warnings;
use utf8;
diff --git a/t/INI.t b/t/INI.t
index 019cb12..b6f4340 100644
--- a/t/INI.t
+++ b/t/INI.t
@@ -1,6 +1,6 @@
package JWebmail::Test::INI;
-use v5.22;
+use v5.24;
use warnings;
use utf8;
diff --git a/t/Pagination.t b/t/Pagination.t
index e06df03..3602490 100644
--- a/t/Pagination.t
+++ b/t/Pagination.t
@@ -1,4 +1,4 @@
-use v5.22;
+use v5.24;
use warnings;
use strict;
use utf8;
diff --git a/t/ViewWebmail.t b/t/ViewWebmail.t
index 0708523..59a02a5 100644
--- a/t/ViewWebmail.t
+++ b/t/ViewWebmail.t
@@ -1,4 +1,4 @@
-use v5.22;
+use v5.24;
use warnings;
use strict;
use utf8;
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',
});