diff options
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r-- | t/app/controller/alert.t | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t index 80037fafe..31b5fb3cf 100644 --- a/t/app/controller/alert.t +++ b/t/app/controller/alert.t @@ -20,11 +20,14 @@ $mech->title_like(qr/^Local RSS feeds and email alerts/); $mech->content_contains('Local RSS feeds and email alerts'); $mech->content_contains('html lang="en-gb"'); -$mech->get_ok('/alert/list?pc=ZZ99ZY'); +$mech->get_ok('/alert/list?pc=EH99 1SP'); $mech->title_like(qr/^Local RSS feeds and email alerts/); -$mech->content_contains('Local RSS feeds and email alerts for ZZ9 9ZY'); +$mech->content_contains('Local RSS feeds and email alerts for EH99 1SP'); $mech->content_contains('html lang="en-gb"'); $mech->get_ok('/alert/list?pc=High Street'); $mech->content_contains('We found more than one match for that location'); + +$mech->get_ok('/alert/list?pc='); +$mech->content_contains('hat location does not appear to be covered by a council'); done_testing(); |