aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-05-28 03:56:11 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-05-28 03:56:11 +0100
commit454a01584b3b9d58b332813f835eae735894f6a1 (patch)
treed70ffdb9454565ba70a17b37a75eb7638f810440 /t/app/controller/report_import.t
parent0116626ded08c9bbac5b781fd5ee6147806e0dba (diff)
Last bit from master, some LBO handling (note, if other London things come along, this needs work). Also fix completely broken council assignment, categories, and some spacing.
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r--t/app/controller/report_import.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index 5bd0b21b8..4f225fc5a 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -125,6 +125,7 @@ subtest "Submit a correct entry" => sub {
photo => '',
phone => '',
may_show_name => '1',
+ category => '-- Pick a category --',
},
"check imported fields are shown";
@@ -141,6 +142,7 @@ subtest "Submit a correct entry" => sub {
detail => 'This is a test report',
phone => '01234 567 890',
may_show_name => '1',
+ category => 'Street lighting',
}
},
"Update details and save"
@@ -208,6 +210,7 @@ subtest "Submit a correct entry (with location)" => sub {
photo => '',
phone => '',
may_show_name => '1',
+ category => '-- Pick a category --',
},
"check imported fields are shown";
@@ -224,6 +227,7 @@ subtest "Submit a correct entry (with location)" => sub {
detail => 'This is a test report ll',
phone => '01234 567 890',
may_show_name => '1',
+ category => 'Street lighting',
}
},
"Update details and save"