diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-20 14:36:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-09-30 15:04:06 +0100 |
commit | d0ae2a420905dbd0b79141d88e2c47956d1d65b2 (patch) | |
tree | c6d7abbb7a33fef2fa3af9c5684d61a6adf0eb1f /perllib/FixMyStreet/TestMech.pm | |
parent | bfdae700a840b74595bb4798ae6d50bb9172fa72 (diff) |
Add ability to log in on /auth via text.
A confirmation code is sent via Twilio to be entered on the site.
Diffstat (limited to 'perllib/FixMyStreet/TestMech.pm')
-rw-r--r-- | perllib/FixMyStreet/TestMech.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index 406382f1d..20f7a3ace 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -95,7 +95,7 @@ sub log_in_ok { # log in $mech->get_ok('/auth'); $mech->submit_form_ok( - { with_fields => { email => $email, password_sign_in => 'secret' } }, + { with_fields => { username => $email, password_sign_in => 'secret' } }, "sign in using form" ); $mech->logged_in_ok; |