From d606ee6a023a858bf494f0dfba80eb1807c2e7df Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 4 Feb 2013 10:16:01 +0000 Subject: Make sure bodies exist that redirects test for. --- t/app/controller/alert_new.t | 3 +++ 1 file changed, 3 insertions(+) (limited to 't/app/controller/alert_new.t') diff --git a/t/app/controller/alert_new.t b/t/app/controller/alert_new.t index 518cb3a12..ae09fcb65 100644 --- a/t/app/controller/alert_new.t +++ b/t/app/controller/alert_new.t @@ -307,6 +307,9 @@ for my $test ( }; } +$mech->create_body_ok(2226, 'Gloucestershire County Council'); +$mech->create_body_ok(2326, 'Cheltenham Borough Council'); + subtest "Test two-tier council alerts" => sub { for my $alert ( { feed => "local:51.896269:-2.093063", result => '/rss/l/51.896269,-2.093063' }, -- cgit v1.2.3