diff options
author | Matthew Somerville <matthew@mysociety.org> | 2016-04-22 13:49:47 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2016-04-22 13:49:47 +0100 |
commit | c923ee706a122863b2c9db94bf09dfe235b4fd4d (patch) | |
tree | 2e2fefa4684e3ecae329e0533e567fb6a09872f5 /t/app/controller/admin.t | |
parent | c9d7be8f8994ca51685c71bd7490ef42822d41b3 (diff) | |
parent | 66eb844d7eaba7155e362dcec8a7a7db8f3dbf4c (diff) |
Merge branch '1383-remove-dead-projects'
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 310e0a677..1dcb768dc 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -104,9 +104,9 @@ subtest 'check summary counts' => sub { $mech->content_contains( "$q_count questionnaires sent" ); FixMyStreet::override_config { - ALLOWED_COBRANDS => [ 'barnet' ], + ALLOWED_COBRANDS => [ 'oxfordshire' ], }, sub { - ok $mech->host('barnet.fixmystreet.com'); + ok $mech->host('oxfordshire.fixmystreet.com'); $mech->get_ok('/admin'); $mech->title_like(qr/Summary/); @@ -115,11 +115,11 @@ subtest 'check summary counts' => sub { my ($num_alerts) = $mech->content =~ /(\d+) confirmed alerts/; my ($num_qs) = $mech->content =~ /(\d+) questionnaires sent/; - $report->bodies_str(2489); - $report->cobrand('barnet'); + $report->bodies_str(2237); + $report->cobrand('oxfordshire'); $report->update; - $alert->cobrand('barnet'); + $alert->cobrand('oxfordshire'); $alert->update; $mech->get_ok('/admin'); |