diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-14 12:11:13 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:06 +0000 |
commit | ff06783c6dc50321100a54b4d4a624fde2212689 (patch) | |
tree | 38d7f914f841a6ba8ea3225bae3cacbabc80dbf9 /t/app/controller/report_display.t | |
parent | bb356c880412db8bad655e081ad6d68f25ae3ff7 (diff) |
Make from_body a foreign key.
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 4c7b33f73..5ae3bdfb3 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -345,10 +345,13 @@ for my $test ( }; } +$mech->create_body_ok(2504, 'Westminster City Council'); +$mech->create_body_ok(2505, 'Camden Borough Council'); + for my $test ( { desc => 'no state dropdown if user not from authority', - from_body => 0, + from_body => undef, no_state => 1, report_body => '2504', }, |