diff options
author | Struan Donald <struan@exo.org.uk> | 2012-02-02 16:19:17 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-02-02 16:19:17 +0000 |
commit | bd1be5d99f2c51f9fe2eb7751392b4b44fd74edc (patch) | |
tree | a69562c695cd88b5ca0838824e3eaeb336e3043e /t | |
parent | 9a9889db881e24c17f51804ba56c11bd264bbf9c (diff) |
make sure admin summary page handle new cobrand structure correctly
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 0a6f09585..d8a1c24a1 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -79,6 +79,8 @@ 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 closed investigating planned/, 'in progress', 'fixed - user', 'fixed - council'] } } ); + ok $mech->host('www.fixmystreet.com'); + my $problem_count = $problems->count; $problems->update( { cobrand => '' } ); |