aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-23 17:11:36 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-23 17:11:36 +0100
commit8deb709fa2d44bcbaba54734f7f4f4385980d8df (patch)
treecbfa1a32734e626702115fb98e192a7058c840b4 /t/app/controller/admin.t
parent7d097bb489deea35ef4fda6002a0d6936bf6b649 (diff)
add extra states to problem count
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index ba5095cea..51c55c323 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.t
@@ -77,7 +77,7 @@ my $alert = FixMyStreet::App->model('DB::Alert')->find_or_create(
);
subtest 'check summary counts' => sub {
- my $problems = FixMyStreet::App->model('DB::Problem')->search( { state => { -in => [qw/confirmed fixed/] } } );
+ my $problems = FixMyStreet::App->model('DB::Problem')->search( { state => { -in => [qw/confirmed fixed closed investigating planned/, 'in progress', 'fixed - user', 'fixed - council'] } } );
my $problem_count = $problems->count;
$problems->update( { cobrand => '' } );