diff options
author | Hakim Cassimally <hakim@mysociety.org> | 2013-12-10 16:25:10 +0000 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2013-12-10 16:25:10 +0000 |
commit | 730abb82c55b7fe15aa9fe8c05ed1af6b522dc0c (patch) | |
tree | 0da52400a51844ab45d4b0ff54cd51fdaf74b137 /t | |
parent | 02ef3db41eba92dbb3d058bf31b7833c0a9c774d (diff) |
[Zurich] also allow hidden reports for closed_overdue
Diffstat (limited to 't')
-rw-r--r-- | t/cobrand/zurich.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index 8dde27b02..6fd6677f5 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -180,7 +180,7 @@ sub get_moderated_count { return $1; } else { - fail "Could not get moderation results"; + fail sprintf "Could not get moderation results (%d)", $mech->status; return undef; } } @@ -622,7 +622,7 @@ subtest "test stats" => sub { is $mech->res->code, 200, "superuser should be able to see stats page"; $mech->content_contains('Innerhalb eines Arbeitstages moderiert: 2'); # now including hidden - $mech->content_contains('Innerhalb von fünf Arbeitstagen abgeschlossen: 2'); + $mech->content_contains('Innerhalb von fünf Arbeitstagen abgeschlossen: 3'); # my @data = $mech->content =~ /(?:moderiert|abgeschlossen): \d+/g; # diag Dumper(\@data); use Data::Dumper; |