aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-10-15 14:29:27 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-11-09 15:58:29 +0000
commitb51bcdb4fb5ade67b49e9dddfb72e5f9177ff011 (patch)
tree11475385d2aa5f2da89b6687afd1df00aab4a8e6
parent7e1e2af3f85b7953ce572a4d5f6993a9133447f0 (diff)
Remove unnecessary logins in report_updates.t
-rw-r--r--t/app/controller/report_updates.t9
1 files changed, 0 insertions, 9 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 285e6b90f..f49330f34 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -588,7 +588,6 @@ subtest 'check non authority user cannot change set state' => sub {
for my $state ( qw/unconfirmed hidden partial/ ) {
subtest "check that update cannot set state to $state" => sub {
- $mech->log_in_ok( $user->email );
$user->from_body( $body->id );
$user->update;
@@ -737,8 +736,6 @@ for my $test (
$report->update;
}
- $mech->log_in_ok( $user->email );
-
if ($test->{view_username}) {
ok $user->user_body_permissions->create({
body => $body,
@@ -820,7 +817,6 @@ subtest 'check meta correct for comments marked confirmed but not marked open' =
};
subtest "check first comment with no status change has no status in meta" => sub {
- $mech->log_in_ok( $user->email );
$user->from_body( undef );
$user->update;
@@ -834,7 +830,6 @@ subtest "check first comment with no status change has no status in meta" => sub
};
subtest "check comment with no status change has not status in meta" => sub {
- $mech->log_in_ok( $user->email );
$user->from_body( undef );
$user->update;
@@ -1077,8 +1072,6 @@ subtest $test->{desc} => sub {
extra => $extra,
}
);
- $mech->log_in_ok( $user->email );
-
ok $user->user_body_permissions->search({
body_id => $body->id,
@@ -1143,7 +1136,6 @@ subtest $test->{desc} => sub {
extra => $extra,
}
);
- $mech->log_in_ok( $user->email );
$mech->get_ok("/report/$report_id");
my $update_meta = $mech->extract_update_metas;
@@ -1197,7 +1189,6 @@ subtest $test->{desc} => sub {
}
);
}
- $mech->log_in_ok( $user->email );
$mech->get_ok("/report/$report_id");
my $update_meta = $mech->extract_update_metas;