aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-04-07 11:26:24 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-04-07 11:43:54 +0100
commite829a7bc83c886de76cd3f03ed6d65f067c45ae4 (patch)
tree08b469dfc8d2eff2acde27f77ca1858c6ff37b1a /t
parentcd392865eb87d8eef5f9c57e64d00acc7a9bbac1 (diff)
[Bexley] Treat any oil spillage report as P1.
Diffstat (limited to 't')
-rw-r--r--t/cobrand/bexley.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/cobrand/bexley.t b/t/cobrand/bexley.t
index d984a7381..352e61389 100644
--- a/t/cobrand/bexley.t
+++ b/t/cobrand/bexley.t
@@ -41,6 +41,7 @@ $mech->create_contact_ok(body_id => $body->id, category => 'Damaged road', email
$mech->create_contact_ok(body_id => $body->id, category => 'Flooding in the road', email => "ConfirmFLOD");
$mech->create_contact_ok(body_id => $body->id, category => 'Flytipping', email => "UniformFLY");
$mech->create_contact_ok(body_id => $body->id, category => 'Dead animal', email => "ANIM");
+$mech->create_contact_ok(body_id => $body->id, category => 'Street cleaning and litter', email => "STREET");
my $category = $mech->create_contact_ok(body_id => $body->id, category => 'Something dangerous', email => "DANG");
$category->set_extra_metadata(group => 'Danger things');
$category->update;
@@ -81,6 +82,8 @@ FixMyStreet::override_config {
extra => { 'name' => 'dangerous', description => 'Was it dangerous?', 'value' => 'Yes' } },
{ category => 'Something dangerous', code => 'DANG',
extra => { 'name' => 'dangerous', description => 'Was it dangerous?', 'value' => 'No' } },
+ { category => 'Street cleaning and litter', email => ['p1', 'outofhours', 'ooh2'], code => 'STREET',
+ extra => { 'name' => 'reportType', description => 'Type of report', 'value' => 'Oil spillage' } },
{ category => 'Gulley covers', email => ['p1', 'outofhours', 'ooh2'], code => 'GULL',
extra => { 'name' => 'reportType', description => 'Type of report', 'value' => 'Cover missing' } },
{ category => 'Gulley covers', code => 'GULL',