aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/auth_profile.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/auth_profile.t b/t/app/controller/auth_profile.t
index 1122518ca..883dc2003 100644
--- a/t/app/controller/auth_profile.t
+++ b/t/app/controller/auth_profile.t
@@ -102,7 +102,7 @@ subtest "Test change email page" => sub {
$mech->content_contains('successfully confirmed');
ok(FixMyStreet::App->model('DB::User')->find( { email => $test_email2 } ), "got a user");
- ok(FixMyStreet::App->model('DB::User')->create( { email => $test_email } ), "created old user");
+ ok(FixMyStreet::App->model('DB::User')->create( { email => $test_email, email_verified => 1 } ), "created old user");
$mech->submit_form_ok({ with_fields => { email => $test_email } },
"change_email back to $test_email"
);