diff options
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/bromley.t | 4 | ||||
-rw-r--r-- | t/cobrand/form_extras.t | 2 | ||||
-rw-r--r-- | t/cobrand/hackney.t | 2 | ||||
-rw-r--r-- | t/cobrand/isleofwight.t | 2 | ||||
-rw-r--r-- | t/cobrand/zurich.t | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/t/cobrand/bromley.t b/t/cobrand/bromley.t index 6a7a60811..d26b10709 100644 --- a/t/cobrand/bromley.t +++ b/t/cobrand/bromley.t @@ -123,7 +123,7 @@ for my $test ( cobrand => 'bromley', fields => { submit_update => 1, - username => 'unregistered@example.com', + username_register => 'unregistered@example.com', update => 'Update from an unregistered user', add_alert => undef, first_name => 'Unreg', @@ -136,7 +136,7 @@ for my $test ( cobrand => 'fixmystreet', fields => { submit_update => 1, - username => 'unregistered@example.com', + username_register => 'unregistered@example.com', update => 'Update from an unregistered user', add_alert => undef, name => 'Unreg User', diff --git a/t/cobrand/form_extras.t b/t/cobrand/form_extras.t index 3807dd56a..72c725d75 100644 --- a/t/cobrand/form_extras.t +++ b/t/cobrand/form_extras.t @@ -41,7 +41,7 @@ FixMyStreet::override_config { detail => 'Test report details.', name => 'Joe Bloggs', may_show_name => '1', - username => 'test-1@example.com', + username_register => 'test-1@example.com', password_register => '', } }, diff --git a/t/cobrand/hackney.t b/t/cobrand/hackney.t index 6ab47a7ce..8022d562a 100644 --- a/t/cobrand/hackney.t +++ b/t/cobrand/hackney.t @@ -178,7 +178,7 @@ subtest "sends branded confirmation emails" => sub { detail => 'Test report details.', photo1 => '', name => 'Joe Bloggs', - username => 'test-1@example.com', + username_register => 'test-1@example.com', category => 'Roads', } }, diff --git a/t/cobrand/isleofwight.t b/t/cobrand/isleofwight.t index 303cdbc07..ad9017e26 100644 --- a/t/cobrand/isleofwight.t +++ b/t/cobrand/isleofwight.t @@ -481,7 +481,7 @@ subtest "sends branded confirmation emails" => sub { detail => 'Test report details.', photo1 => '', name => 'Joe Bloggs', - username => 'test-1@example.com', + username_register => 'test-1@example.com', category => 'Roads', } }, diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index 2992a37e7..c73bd01e1 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -907,7 +907,7 @@ subtest "photo must be supplied for categories that require it" => sub { $mech->get_ok('/report/new?lat=47.381817&lon=8.529156'); $mech->submit_form_ok({ with_fields => { detail => 'Problem-Bericht', - username => 'user@example.org', + username_register => 'user@example.org', category => 'Graffiti - photo required', }}); is $mech->res->code, 200, "missing photo shouldn't return anything but 200"; |