diff options
Diffstat (limited to 't/app/controller/auth_phone.t')
-rw-r--r-- | t/app/controller/auth_phone.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/auth_phone.t b/t/app/controller/auth_phone.t index dea1c3493..e5f49ed19 100644 --- a/t/app/controller/auth_phone.t +++ b/t/app/controller/auth_phone.t @@ -60,7 +60,7 @@ FixMyStreet::override_config { with_fields => { code => $code } }, 'submit correct code'); - my $user = FixMyStreet::App->model('DB::User')->find( { phone => '+18165550100' } ); + my $user = FixMyStreet::DB->resultset('User')->find( { phone => '+18165550100' } ); ok $user, "user created"; is $mech->uri->path, '/my', "redirected to the 'my' section of site"; $mech->logged_in_ok; |