diff options
Diffstat (limited to 't/cobrand/get_body_sender.t')
-rw-r--r-- | t/cobrand/get_body_sender.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cobrand/get_body_sender.t b/t/cobrand/get_body_sender.t index 66cfc02b7..fbdfbffa7 100644 --- a/t/cobrand/get_body_sender.t +++ b/t/cobrand/get_body_sender.t @@ -25,9 +25,9 @@ FixMyStreet::override_config { MAPIT_TYPES => [ 'LBO' ], MAPIT_URL => 'http://mapit.mysociety.org/', }, sub { - is_deeply $c->get_body_sender( $body ), { method => 'Email' }, 'defaults to email'; + is_deeply $c->get_body_sender( $body ), { method => 'Email', contact => undef }, 'defaults to email'; $body_area->update({ area_id => 2481 }); # Croydon LBO - is_deeply $c->get_body_sender( $body ), { method => 'Email' }, 'still email if London borough'; + is_deeply $c->get_body_sender( $body ), { method => 'Email', contact => undef }, 'still email if London borough'; }; $body->send_method( 'TestMethod' ); |