diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-09-30 20:04:05 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-09-30 20:04:05 +0100 |
commit | 3a511f5facc4bd066f0e7e4d00060979686bb766 (patch) | |
tree | 9438a2b3de8f2784e9ee588bb8b4b871f152213e /t/app/controller/contact_enquiry.t | |
parent | b6fb09db4ff31aba28833b9e735e6c92ce9081c7 (diff) | |
parent | 2abe443efb8bbbd7cf3048eec271fd28a777932f (diff) |
Merge branch 'improved-email-phone-in-form'
Diffstat (limited to 't/app/controller/contact_enquiry.t')
-rw-r--r-- | t/app/controller/contact_enquiry.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/contact_enquiry.t b/t/app/controller/contact_enquiry.t index feb2a0545..f1b5b15cd 100644 --- a/t/app/controller/contact_enquiry.t +++ b/t/app/controller/contact_enquiry.t @@ -80,7 +80,7 @@ FixMyStreet::override_config { $mech->submit_form_ok( { with_fields => { name => 'Test User', - username => 'testuser@example.org', + username_register => 'testuser@example.org', category => 'Other', detail => 'This is a general enquiry', } @@ -149,7 +149,7 @@ FixMyStreet::override_config { $mech->submit_form_ok( { with_fields => { name => 'Simon Neil', - username => $user->email, + username_register => $user->email, category => 'General Enquiry', detail => 'This is a general enquiry', } @@ -212,7 +212,7 @@ FixMyStreet::override_config { submit_problem => 1, token => $csrf, name => 'Test User', - username => 'testuser@example.org', + username_register => 'testuser@example.org', category => 'Other', detail => encode_utf8('This is a general enquiry‽'), photo1 => [ $sample_jpeg, undef, Content_Type => 'image/jpeg' ], |