diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-10-11 16:10:10 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-10-11 18:10:14 +0100 |
commit | bad21915fe0ebebc797c55588841ec9e2909b093 (patch) | |
tree | d0e9b4adb16a13658ad922cb763e4af4dc4810c2 /t | |
parent | ad7833e96ae4642d243194b7928cfada1e781a5e (diff) |
[Bexley] No P1 email on lighting, allow multiple.
Diffstat (limited to 't')
-rw-r--r-- | t/cobrand/bexley.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/cobrand/bexley.t b/t/cobrand/bexley.t index 3937129d3..480f1ce2d 100644 --- a/t/cobrand/bexley.t +++ b/t/cobrand/bexley.t @@ -45,7 +45,7 @@ FixMyStreet::override_config { MAPIT_URL => 'http://mapit.uk/', MAP_TYPE => 'Bexley', STAGING_FLAGS => { send_reports => 1, skip_checks => 0 }, - COBRAND_FEATURES => { open311_email => { bexley => { p1 => 'p1@bexley', lighting => 'thirdparty@notbexley.example.com' } } }, + COBRAND_FEATURES => { open311_email => { bexley => { p1 => 'p1@bexley', lighting => 'thirdparty@notbexley.example.com,another@notbexley.example.com' } } }, }, sub { subtest 'cobrand displays council name' => sub { @@ -81,9 +81,9 @@ FixMyStreet::override_config { { 'name' => 'dangerous', description => 'Was it dangerous?', 'value' => 'Yes' }, { 'name' => 'reportType', description => 'Type of report', 'value' => 'Vandalism' }, ] }, - { category => 'Lamp post', code => 'LAMP', email => 'thirdparty', + { category => 'Lamp post', code => 'LAMP', email => 'thirdparty.*another', extra => { 'name' => 'dangerous', description => 'Was it dangerous?', 'value' => 'No' } }, - { category => 'Lamp post', code => 'LAMP', email => 'p1.*thirdparty', + { category => 'Lamp post', code => 'LAMP', email => 'thirdparty.*another', extra => { 'name' => 'dangerous', description => 'Was it dangerous?', 'value' => 'Yes' } }, ) { ($report) = $mech->create_problems_for_body(1, $body->id, 'On Road', { |