aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-04-20 19:35:31 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-04-20 19:38:32 +0100
commit66eb844d7eaba7155e362dcec8a7a7db8f3dbf4c (patch)
tree25debcbb91cae5d33429ae1dc3120e6d7f627b24 /t/app/controller/admin.t
parent97a01fcec2c48e379394e0127888edc2e5bbde91 (diff)
Update tests for cobrand/template changes.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t10
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');