diff options
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/about.t | 2 | ||||
-rw-r--r-- | t/app/controller/admin.t | 49 | ||||
-rw-r--r-- | t/app/controller/alert_new.t | 32 | ||||
-rw-r--r-- | t/app/controller/dashboard.t | 639 | ||||
-rw-r--r-- | t/app/controller/questionnaire.t | 132 | ||||
-rw-r--r-- | t/app/controller/report_import.t | 2 | ||||
-rw-r--r-- | t/app/controller/report_new.t | 228 | ||||
-rw-r--r-- | t/app/controller/report_updates.t | 20 | ||||
-rw-r--r-- | t/app/controller/reports.t | 4 | ||||
-rw-r--r-- | t/app/model/problem.t | 130 | ||||
-rw-r--r-- | t/app/uri_for.t | 57 | ||||
-rw-r--r-- | t/cobrand/get_council_sender.t | 30 | ||||
-rw-r--r-- | t/open311.t | 451 | ||||
-rw-r--r-- | t/open311/getservicerequestupdates.t | 537 | ||||
-rw-r--r-- | t/open311/populate-service-list.t | 298 |
15 files changed, 2472 insertions, 139 deletions
diff --git a/t/app/controller/about.t b/t/app/controller/about.t index ea7b1af20..4e49cdac9 100644 --- a/t/app/controller/about.t +++ b/t/app/controller/about.t @@ -13,7 +13,7 @@ $mech->content_contains('html class="no-js" lang="en-gb"'); SKIP: { skip( "Need 'emptyhomes' in ALLOWED_COBRANDS config", 8 ) - unless FixMyStreet::App->config->{ALLOWED_COBRANDS} =~ m{emptyhomes}; + unless FixMyStreet::Cobrand->exists('emptyhomes'); # check that geting the page as EHA produces a different page ok $mech->host("reportemptyhomes.co.uk"), 'change host to reportemptyhomes'; diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index d8a1c24a1..09d99cfdf 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -10 |