From 0a31d853df17ab05389d1d699b0104899c771e16 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 15 Sep 2023 18:56:44 +0200 Subject: moved srcdist to actions moved install to build.ninja removed bindist --- t/Webmail.t | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 't/Webmail.t') 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); -- cgit v1.2.3