diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 12:03:48 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 12:03:48 +0100 |
commit | edf59d8605000c4363ce4d79f270559c522bc63e (patch) | |
tree | 4bb2950a68f66a998165e5a8b15e5bba08f551c5 /perllib/FixMyStreet/TestMech.pm | |
parent | 8e6c6833afaf8b4cb820bffb4fa2adf44c0ca24d (diff) |
Allow people to give name/pw on auth page.
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 9913f5cde..13f1b10cf 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -94,7 +94,7 @@ sub log_in_ok { # log in $mech->get_ok('/auth'); $mech->submit_form_ok( - { with_fields => { email => $email, password => 'secret' } }, + { with_fields => { email => $email, password_login => 'secret' } }, "login using form" ); $mech->logged_in_ok; |