diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-07-30 16:38:57 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-07-30 17:42:14 +0100 |
commit | 68fc33ac915bda5c5e737c037eb7854068039d29 (patch) | |
tree | af44e7bf990b18a6e9f471beeee7bae26df717a2 /t/app/controller/admin.t | |
parent | 25f16cc07a5c1daf721103d6f1f523df26fcbbf8 (diff) |
Add mark as sent button to admin.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index f63a72117..fb3ab1917 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -568,7 +568,7 @@ foreach my $test ( $report->discard_changes; - if ( $report->state eq 'confirmed' ) { + if ($report->state eq 'confirmed' && $report->whensent) { $mech->content_contains( 'type="submit" name="resend"', 'resend button' ); } else { $mech->content_lacks( 'type="submit" name="resend"', 'no resend button' ); |