aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/auth_phone.t
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2020-09-29 14:23:52 +0200
committerMarius Halden <marius.h@lden.org>2020-09-29 14:23:52 +0200
commita27ce1524d801d2742a2bdb6ec1da45126d64353 (patch)
tree64123c4e17dc1776aa0a7cd65ee01d49d3e7d978 /t/app/controller/auth_phone.t
parent377bd96aab7cad3434185c30eb908c9da447fe40 (diff)
parent2773c60226b9370fe8ee00f7b205b571bb87c3b5 (diff)
Merge tag 'v3.0.1' into fiksgatami-dev
Diffstat (limited to 't/app/controller/auth_phone.t')
-rw-r--r--t/app/controller/auth_phone.t2
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;