From bd1be5d99f2c51f9fe2eb7751392b4b44fd74edc Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Thu, 2 Feb 2012 16:19:17 +0000 Subject: make sure admin summary page handle new cobrand structure correctly --- t/app/controller/admin.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/app/controller/admin.t') 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 => '' } ); -- cgit v1.2.3