diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-23 17:11:36 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-23 17:11:36 +0100 |
commit | 8deb709fa2d44bcbaba54734f7f4f4385980d8df (patch) | |
tree | cbfa1a32734e626702115fb98e192a7058c840b4 | |
parent | 7d097bb489deea35ef4fda6002a0d6936bf6b649 (diff) |
add extra states to problem count
-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 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 => '' } ); |