diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-02 16:48:00 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-02 16:48:00 +0000 |
commit | a112bff47201786dab2239fe72efbf4b162a870b (patch) | |
tree | 750d2b51378b7fd877925a3555f02de216330751 /t/app/controller/admin | |
parent | dcc5926c674698985376e5ab26589ffa8626fd6f (diff) | |
parent | 10969727539d0c6206768b08bf24d49a733f0fdf (diff) |
Merge branch 'issues/commercial/1007-zurich-planned-hidden-reports'
Diffstat (limited to 't/app/controller/admin')
-rw-r--r-- | t/app/controller/admin/report_edit.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/admin/report_edit.t b/t/app/controller/admin/report_edit.t index a8a0bd143..e61f781f5 100644 --- a/t/app/controller/admin/report_edit.t +++ b/t/app/controller/admin/report_edit.t @@ -364,6 +364,10 @@ foreach my $test ( $mech->content_lacks( 'type="submit" name="resend"', 'no resend button' ); } + if ($report->state eq 'fixed') { + $mech->content_contains('pin-green'); + } + $test->{changes}->{flagged} = 1 if $test->{changes}->{flagged}; $test->{changes}->{non_public} = 1 if $test->{changes}->{non_public}; |