aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-02-02 16:19:17 +0000
committerStruan Donald <struan@exo.org.uk>2012-02-02 16:19:17 +0000
commitbd1be5d99f2c51f9fe2eb7751392b4b44fd74edc (patch)
treea69562c695cd88b5ca0838824e3eaeb336e3043e /t/app/controller/admin.t
parent9a9889db881e24c17f51804ba56c11bd264bbf9c (diff)
make sure admin summary page handle new cobrand structure correctly
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t2
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 => '' } );