diff options
Diffstat (limited to 't/app/model/comment.t')
-rw-r--r-- | t/app/model/comment.t | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/t/app/model/comment.t b/t/app/model/comment.t index 3141af828..e83d795fc 100644 --- a/t/app/model/comment.t +++ b/t/app/model/comment.t @@ -1,14 +1,12 @@ -#!/usr/bin/perl - use strict; use warnings; use Test::More tests => 2; use FixMyStreet; -use FixMyStreet::App; +use FixMyStreet::DB; -my $comment_rs = FixMyStreet::App->model('DB::Comment'); +my $comment_rs = FixMyStreet::DB->resultset('Comment'); my $comment = $comment_rs->new( { |