diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-09 09:46:19 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-04-09 11:38:35 +0100 |
commit | 789ac9278c883f13c381699c3111cafc5e22b084 (patch) | |
tree | c84cfc33896a2535998680d9c1ede4ac5d2a1b23 /t | |
parent | 0569259043d150eb0e9b63241c7aad0e71c34cf3 (diff) |
[fixmystreet.com] Stop non-council email sign-up.
100% false positives so far.
Diffstat (limited to 't')
-rw-r--r-- | t/cobrand/fixmystreet.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/cobrand/fixmystreet.t b/t/cobrand/fixmystreet.t index 30d5765a2..57ab51198 100644 --- a/t/cobrand/fixmystreet.t +++ b/t/cobrand/fixmystreet.t @@ -18,6 +18,9 @@ FixMyStreet::override_config { $data = FixMyStreet::Script::UpdateAllReports::generate_dashboard($body); }; +FixMyStreet::App->log->disable('info'); +END { FixMyStreet::App->log->enable('info'); } + FixMyStreet::override_config { MAPIT_URL => 'http://mapit.uk/', TEST_DASHBOARD_DATA => $data, @@ -29,8 +32,7 @@ FixMyStreet::override_config { is $mech->uri->path, '/about/council-dashboard'; $mech->submit_form_ok({ with_fields => { username => 'someone@somewhere.example.org' }}); - $mech->content_contains('We will be in touch'); - # XXX Check email arrives + $mech->content_contains('did not recognise your email'); $mech->log_in_ok('someone@somewhere.example.org'); $mech->get_ok('/reports/Birmingham/summary'); |