aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/rss.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-09-04 14:42:46 +0100
committerMatthew Somerville <matthew@mysociety.org>2015-09-04 14:42:46 +0100
commit77ae49afb00e1dc1bd528f179ac0b32512feae3d (patch)
treedc82b836344d9ef8cd2c462ee54aa1dd21f27ab2 /t/app/controller/rss.t
parentd6c6c05f4627c2b85f2ec867ff3b6c85f297e8cc (diff)
parent8544bafc365406ac9a403e80fe07cc361a7d1d5b (diff)
Merge branch 'fix-cobrand-restriction-warning'
Diffstat (limited to 't/app/controller/rss.t')
-rw-r--r--t/app/controller/rss.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/app/controller/rss.t b/t/app/controller/rss.t
index ae1c0d193..db653c094 100644
--- a/t/app/controller/rss.t
+++ b/t/app/controller/rss.t
@@ -127,11 +127,14 @@ $mech->content_contains( '18 North Bridge, Edinburgh' );
$report->delete();
+my $council = $mech->create_body_ok(2333, 'Hart Council');
+my $county = $mech->create_body_ok(2227, 'Hampshire Council');
+
my $now = DateTime->now();
my $report_to_council = FixMyStreet::App->model('DB::Problem')->find_or_create(
{
postcode => 'GU51 4AE',
- bodies_str => '2333',
+ bodies_str => $council->id,
areas => ',2333,2227,',
category => 'Other',
title => 'council report',
@@ -155,7 +158,7 @@ my $report_to_council = FixMyStreet::App->model('DB::Problem')->find_or_create(
my $report_to_county_council = FixMyStreet::App->model('DB::Problem')->find_or_create(
{
postcode => 'GU51 4AE',
- bodies_str => '2227',
+ bodies_str => $county->id,
areas => ',2333,2227,',
category => 'Other',
title => 'county report',