aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-06-16 20:36:52 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-06-18 11:45:15 +0100
commit04d217ae31c156c17d95e757842693caa31c06ed (patch)
treeb04490721764ff4da978f9b3d1bd16500256a353 /t/cobrand
parent32ad0501c46816b3e6b28b53c0df5bccc5fa057a (diff)
[Hounslow] Closed as well as fixed on front page.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/hounslow.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/cobrand/hounslow.t b/t/cobrand/hounslow.t
index 91c1cb455..e58309925 100644
--- a/t/cobrand/hounslow.t
+++ b/t/cobrand/hounslow.t
@@ -38,6 +38,15 @@ my ($report) = $mech->create_problems_for_body(1, $hounslow_id, 'A brand new pro
cobrand => 'fixmystreet'
});
+subtest "showing the front page" => sub {
+ FixMyStreet::override_config {
+ ALLOWED_COBRANDS => 'hounslow',
+ }, sub {
+ $mech->get_ok('/');
+ $mech->content_contains('completed in past month');
+ };
+};
+
subtest "it still shows old reports on fixmystreet.com" => sub {
FixMyStreet::override_config {
MAPIT_URL => 'http://mapit.uk/',