From 9f855f70a644c79182128b7c5384a460e5c2450d Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 22 Nov 2019 13:04:34 +0000 Subject: Replace use of FixMyStreet::App with DB in tests. --- t/app/controller/index.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/app/controller/index.t') diff --git a/t/app/controller/index.t b/t/app/controller/index.t index 3f3aed48e..56f91ded7 100644 --- a/t/app/controller/index.t +++ b/t/app/controller/index.t @@ -58,7 +58,7 @@ subtest "does pc, (x,y), (e,n) or (lat,lon) go to /around" => sub { } }; -my $problem_rs = FixMyStreet::App->model('DB::Problem'); +my $problem_rs = FixMyStreet::DB->resultset('Problem'); my $num = $problem_rs->count; my @edinburgh_problems = $mech->create_problems_for_body(5, 2651, 'Front page'); -- cgit v1.2.3