diff options
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r-- | t/app/controller/admin.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 9ec15ec21..43684a206 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -236,7 +236,7 @@ subtest 'check contact updating' => sub { }; my $open311 = - FixMyStreet::App->model('DB::Open311Conf')->search( { area_id => 2650 } ); + FixMyStreet::App->model('DB::Body')->search( { area_id => 2650 } ); $open311->delete if $open311; subtest 'check open311 configuring' => sub { @@ -259,7 +259,7 @@ subtest 'check open311 configuring' => sub { $mech->content_contains('Configuration updated - contacts will be generated automatically later'); $open311 = - FixMyStreet::App->model('DB::Open311Conf')->search( { area_id => 2650 } ); + FixMyStreet::App->model('DB::Body')->search( { area_id => 2650 } ); is $open311->count, 1, 'only one configuration'; my $conf = $open311->first; @@ -283,7 +283,7 @@ subtest 'check open311 configuring' => sub { $mech->content_contains('Configuration updated'); $open311 = - FixMyStreet::App->model('DB::Open311Conf')->search( { area_id => 2650 } ); + FixMyStreet::App->model('DB::Body')->search( { area_id => 2650 } ); is $open311->count, 1, 'only one configuration'; $conf = $open311->first; |