aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin/templates.t
diff options
context:
space:
mode:
Diffstat (limited to 't/app/controller/admin/templates.t')
-rw-r--r--t/app/controller/admin/templates.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/admin/templates.t b/t/app/controller/admin/templates.t
index 39903deb1..e9fefbdd7 100644
--- a/t/app/controller/admin/templates.t
+++ b/t/app/controller/admin/templates.t
@@ -19,7 +19,7 @@ my $dt = DateTime->new(
second => 23
);
-my $report = FixMyStreet::App->model('DB::Problem')->find_or_create(
+my $report = FixMyStreet::DB->resultset('Problem')->find_or_create(
{
postcode => 'SW1A 1AA',
bodies_str => '2504',