diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-11-22 13:04:34 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-11-22 13:11:51 +0000 |
commit | 9f855f70a644c79182128b7c5384a460e5c2450d (patch) | |
tree | a672d8ddd856a1a73f577389a835647146a3f2e7 /t/app/controller/admin/templates.t | |
parent | 399a38c4636fac6ce4a2eb21053604ba74309a36 (diff) |
Replace use of FixMyStreet::App with DB in tests.
Diffstat (limited to 't/app/controller/admin/templates.t')
-rw-r--r-- | t/app/controller/admin/templates.t | 2 |
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', |