diff options
author | Dave Arter <davea@mysociety.org> | 2020-05-29 16:21:57 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2020-05-29 16:21:57 +0100 |
commit | f8859e29f5bcf75c1b2acb934bd4353f83c5a2c1 (patch) | |
tree | d07c52e68caad84ba7121cd0a0f07e1d9c826c72 /t/app | |
parent | 363e9b29df531494a01726b3d1d12acb37ac9c8a (diff) |
[UK] Remove Somerset West and Taunton special destination handling
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/sendreport/email.t | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/t/app/sendreport/email.t b/t/app/sendreport/email.t index cfd70a097..c9363b787 100644 --- a/t/app/sendreport/email.t +++ b/t/app/sendreport/email.t @@ -20,8 +20,6 @@ my $contact = $mech->create_contact_ok( ); my $row = FixMyStreet::DB->resultset('Problem')->new( { - latitude => 51.023569, - longitude => -3.099055, bodies_str => '1000', category => 'category', cobrand => '', @@ -70,18 +68,4 @@ foreach my $test ( { }; } -$body->update({ name => 'Somerset West and Taunton Council' }); - -subtest 'Test special behaviour' => sub { - my $e = FixMyStreet::SendReport::Email->new; - $contact->update( { state => 'confirmed', email => 'SPECIAL' } ); - $e->add_body( $body ); - FixMyStreet::override_config { - MAPIT_URL => 'http://mapit.uk/' - }, sub { - my ($e) = $e->build_recipient_list( $row, {} ); - like $e->[0], qr/tauntondeane/, 'correct recipient'; - }; -}; - done_testing(); |