Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Commit 76772d6

Browse files
committed
Fix tests after 20ca8ba
Fixes #172
1 parent d5dabe1 commit 76772d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

t/01app.t

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ subtest "robots meta tag" => sub {
151151
$t->robots_flags_ok( { archive => 0, index => 0 } );
152152
};
153153

154-
$t->get_ok('/user/john_doe');
155-
$t->robots_flags_ok( { archive => 0, index => 1 } );
156-
157154
subtest "under simulation of fatal mistake in permission" => sub {
158155
$t->get('/project/2/Other-Project');
159156
$t->status_is(302); # actually the login page

t/private_project.t

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ my $project = $t->schema->resultset('Project')->find(1);
99

1010
my $username = $project->owner->name;
1111

12+
$t->get('/');
13+
$t->login_ok( 'john_doe', 'P@ssw0rd' );
14+
1215
$t->get_ok("/user/$username");
1316
$t->text_contains( $project->name );
1417

0 commit comments

Comments
 (0)