diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-11-09 18:08:05 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-11-09 18:08:05 +0000 |
commit | c0e4463163d4a9b9a8be073964ef960b114c9ea0 (patch) | |
tree | 8724404283e105fb04b857210825ec78cad1e7cb /t/app | |
parent | 55fd02987a0816d9d1c8a76b67fa2d44f8d57264 (diff) |
Some fixes for when warnings are on during test run.
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/alert.t | 2 | ||||
-rw-r--r-- | t/app/controller/alert_new.t | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t index e1ebbecb6..3d95bef6d 100644 --- a/t/app/controller/alert.t +++ b/t/app/controller/alert.t @@ -40,7 +40,7 @@ $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'); +$mech->content_contains('To find out what local alerts we have for you'); $mech->get_ok('/alert/list?pc=GL502PR'); $mech->content_contains('Problems within the boundary of'); diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index c89f37028..c849b9485 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -330,7 +330,7 @@ subtest "Test two-tier council alerts" => sub { feed => $alert->{feed}, } } ); - is $mech->uri->path, $alert->{result}; + is $mech->uri->path, $alert->{result}, 'Redirected to right RSS feed'; } }; |