diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-28 10:12:56 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-28 10:12:56 +0100 |
commit | b76cfb3889140f1c771c1f98254f724aad3d4297 (patch) | |
tree | bb7beada7a603119ea2897f54a6af96814d850e1 /t/app/controller/auth.t | |
parent | 3f21a9742d89c3e4fda47a0be6ec2a17f802c99a (diff) | |
parent | a8ceae6c99b00aefcba301b2f41033d84701f56a (diff) |
Merge branch 'offline-tests'
Diffstat (limited to 't/app/controller/auth.t')
-rw-r--r-- | t/app/controller/auth.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t index 22ade6f4b..3a11cfc4a 100644 --- a/t/app/controller/auth.t +++ b/t/app/controller/auth.t @@ -56,6 +56,10 @@ for my $test ( is_deeply $mech->page_errors, [ $error_message ], 'errors match'; } +# Email address parsing should pass from here +my $resolver = Test::MockModule->new('Email::Valid'); +$resolver->mock('address', sub { $_[1] }); + # create a new account $mech->clear_emails_ok; $mech->get_ok('/auth'); |