summaryrefslogtreecommitdiff
path: root/t/Webmail.t
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-15 18:56:44 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-15 18:56:44 +0200
commit0a31d853df17ab05389d1d699b0104899c771e16 (patch)
tree9e28b5e4d69c638f8079eafa2af9f5314b487fc7 /t/Webmail.t
parent278b76fabf31abe8fc4fbe6ca1c0ad6af830fcb7 (diff)
moved srcdist to actions
moved install to build.ninja removed bindist
Diffstat (limited to 't/Webmail.t')
-rw-r--r--t/Webmail.t7
1 files changed, 2 insertions, 5 deletions
diff --git a/t/Webmail.t b/t/Webmail.t
index 5346d2c..970b7bf 100644
--- a/t/Webmail.t
+++ b/t/Webmail.t
@@ -5,12 +5,10 @@ use utf8;
use Test::More;
use Test::Mojo;
-use JWebmail::Model::ReadMails::MockJSON;
-
use constant DEFAULT_LANGUAGE => 'en';
-my $user = JWebmail::Model::ReadMails::MockJSON::VALID_USER;
-my $pw = JWebmail::Model::ReadMails::MockJSON::VALID_PW;
+my $user = 'mockmaildir@example.org';
+my $pw = '12345';
my $t = Test::Mojo->new('JWebmail', {
@@ -19,7 +17,6 @@ my $t = Test::Mojo->new('JWebmail', {
i18n => { default_language => DEFAULT_LANGUAGE },
admin_mail => 'test@example.org',
});
-$t->app->helper(users => sub { state $read = 'JWebmail::Model::ReadMails::MockJSON'->new($t->app->config->{model}{read}) });
$t->get_ok('/')->status_is(200);