diff options
Diffstat (limited to 't/cobrand/fixmystreet.t')
-rw-r--r-- | t/cobrand/fixmystreet.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/cobrand/fixmystreet.t b/t/cobrand/fixmystreet.t index fedb06f40..a54e782f2 100644 --- a/t/cobrand/fixmystreet.t +++ b/t/cobrand/fixmystreet.t @@ -1,9 +1,13 @@ use utf8; use FixMyStreet::Script::UpdateAllReports; +use Test::MockModule; use FixMyStreet::TestMech; my $mech = FixMyStreet::TestMech->new; +my $resolver = Test::MockModule->new('Email::Valid'); +$resolver->mock('address', sub { $_[1] }); + my $body = $mech->create_body_ok( 2514, 'Birmingham' ); my $contact = $mech->create_contact_ok( |