aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-10 16:28:52 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-15 00:11:05 +0000
commitf82abb282f60191ee530c552bf025e509e2a57e8 (patch)
tree009ec8c702c77e5cd4e0b6a48542eee82538d4f5 /t/app/controller/admin.t
parent9486610ef67f031d80e70ec3cf1fea330858abd5 (diff)
Rename 'open311conf' database table to 'body'.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t6
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;