aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/sendreport/email.t
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2021-10-07 13:32:40 +0200
committerMarius Halden <marius.h@lden.org>2021-10-07 13:32:40 +0200
commit09dacfc6b8bf62addeee16c20b1d90c2a256da96 (patch)
tree7caa2bf9e92227ab74448f9b746dd28bbcb81b2a /t/app/sendreport/email.t
parent585e57484f9c6332668bf1ac0a6a3b39dbe32223 (diff)
parentcea89fb87a96943708a1db0f646492fbfaaf000f (diff)
Merge tag 'v3.1' into fiksgatami-devfiksgatami-dev
Diffstat (limited to 't/app/sendreport/email.t')
-rw-r--r--t/app/sendreport/email.t16
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();