aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-04-07 11:25:50 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-04-07 11:41:35 +0100
commitcd392865eb87d8eef5f9c57e64d00acc7a9bbac1 (patch)
treea75307ff2df5dd9d90e235ff7979e43af24c82e9 /t
parent7a6f6b5adbd33bd2b1a9aa4e51120801b270f7aa (diff)
[Bexley] Use other P1 email for Confirm reports.
Diffstat (limited to 't')
-rw-r--r--t/cobrand/bexley.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/cobrand/bexley.t b/t/cobrand/bexley.t
index 55ee1278e..d984a7381 100644
--- a/t/cobrand/bexley.t
+++ b/t/cobrand/bexley.t
@@ -34,7 +34,7 @@ my $mech = FixMyStreet::TestMech->new;
my $body = $mech->create_body_ok(2494, 'London Borough of Bexley', {
send_method => 'Open311', api_key => 'key', 'endpoint' => 'e', 'jurisdiction' => 'j' });
-$mech->create_contact_ok(body_id => $body->id, category => 'Abandoned and untaxed vehicles', email => "ABAN");
+$mech->create_contact_ok(body_id => $body->id, category => 'Abandoned and untaxed vehicles', email => "ConfirmABAN");
$mech->create_contact_ok(body_id => $body->id, category => 'Lamp post', email => "StreetLightingLAMP");
$mech->create_contact_ok(body_id => $body->id, category => 'Gulley covers', email => "GULL");
$mech->create_contact_ok(body_id => $body->id, category => 'Damaged road', email => "ROAD");
@@ -51,6 +51,7 @@ FixMyStreet::override_config {
STAGING_FLAGS => { send_reports => 1, skip_checks => 0 },
COBRAND_FEATURES => { open311_email => { bexley => {
p1 => 'p1@bexley',
+ p1confirm => 'p1confirm@bexley',
lighting => 'thirdparty@notbexley.example.com,another@notbexley.example.com',
outofhours => 'outofhours@bexley,ooh2@bexley',
flooding => 'flooding@bexley',
@@ -71,9 +72,9 @@ FixMyStreet::override_config {
my $report;
foreach my $test (
- { category => 'Abandoned and untaxed vehicles', email => ['p1'], code => 'ABAN',
+ { category => 'Abandoned and untaxed vehicles', email => ['p1confirm'], code => 'ConfirmABAN',
extra => { 'name' => 'burnt', description => 'Was it burnt?', 'value' => 'Yes' } },
- { category => 'Abandoned and untaxed vehicles', code => 'ABAN',
+ { category => 'Abandoned and untaxed vehicles', code => 'ConfirmABAN',
extra => { 'name' => 'burnt', description => 'Was it burnt?', 'value' => 'No' } },
{ category => 'Dead animal', email => ['p1', 'outofhours', 'ooh2'], code => 'ANIM' },
{ category => 'Something dangerous', email => ['p1', 'outofhours', 'ooh2'], code => 'DANG',