From 730abb82c55b7fe15aa9fe8c05ed1af6b522dc0c Mon Sep 17 00:00:00 2001 From: Hakim Cassimally Date: Tue, 10 Dec 2013 16:25:10 +0000 Subject: [Zurich] also allow hidden reports for closed_overdue --- t/cobrand/zurich.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/cobrand') 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; -- cgit v1.2.3