aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/Mock/MapIt.pm1
-rw-r--r--t/app/sendreport/email.t16
2 files changed, 0 insertions, 17 deletions
diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm
index d49294a6a..b54ba0ddb 100644
--- a/t/Mock/MapIt.pm
+++ b/t/Mock/MapIt.pm
@@ -50,7 +50,6 @@ my @PLACES = (
[ '?', 51.345714, -0.227959, 2457, 'Epsom and Ewell Borough Council', 'DIS' ],
[ 'CW11 1HZ', 53.145324, -2.370437, 21069, 'Cheshire East Council', 'UTA', 135301, 'Sandbach Town', 'UTW' ],
[ '?', 50.78301, -0.646929 ],
- [ 'TA1 1QP', 51.023569, -3.099055, 2239, 'Somerset County Council', 'CTY', 2429, 'Taunton Deane Borough Council', 'DIS' ],
[ 'GU51 4AE', 51.279456, -0.846216, 2333, 'Hart District Council', 'DIS', 2227, 'Hampshire County Council', 'CTY' ],
[ 'WS1 4NH', 52.563074, -1.991032, 2535, 'Sandwell Borough Council', 'MTD' ],
[ 'PO30 5XJ', 50.71086, -1.29573, 2636, 'Isle of Wight Council', 'UTA' ],
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();