aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311
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/open311
parent9486610ef67f031d80e70ec3cf1fea330858abd5 (diff)
Rename 'open311conf' database table to 'body'.
Diffstat (limited to 't/open311')
-rw-r--r--t/open311/populate-service-list.t18
1 files changed, 9 insertions, 9 deletions
diff --git a/t/open311/populate-service-list.t b/t/open311/populate-service-list.t
index 00026cd9f..8c23e6465 100644
--- a/t/open311/populate-service-list.t
+++ b/t/open311/populate-service-list.t
@@ -24,7 +24,7 @@ subtest 'check basic functionality' => sub {
my $service_list = get_xml_simple_object( get_standard_xml() );
- my $council = FixMyStreet::App->model('DB::Open311Conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -54,7 +54,7 @@ subtest 'check non open311 contacts marked as deleted' => sub {
my $service_list = get_xml_simple_object( get_standard_xml() );
- my $council = FixMyStreet::App->model('DB::Open311Conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -89,7 +89,7 @@ subtest 'check email changed if matching category' => sub {
my $service_list = get_xml_simple_object( get_standard_xml() );
- my $council = FixMyStreet::App->model('DB::Open311Conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -126,7 +126,7 @@ subtest 'check category name changed if updated' => sub {
my $service_list = get_xml_simple_object( get_standard_xml() );
- my $council = FixMyStreet::App->model('DB::Open311Conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -179,7 +179,7 @@ subtest 'check conflicting contacts not changed' => sub {
my $service_list = get_xml_simple_object( get_standard_xml() );
- my $council = FixMyStreet::App->model('DB::Open311Conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -243,7 +243,7 @@ subtest 'check meta data population' => sub {
test_get_returns => { 'services/100.xml' => $meta_xml }
);
- my $council = FixMyStreet::App->model('DB::Open311conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 2482
} );
@@ -432,7 +432,7 @@ for my $test (
my $service_list = get_xml_simple_object( $services_xml );
$service_list = { service => [ $service_list->{ service } ] };
- my $council = FixMyStreet::App->model('DB::Open311conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -505,7 +505,7 @@ subtest 'check attribute ordering' => sub {
test_get_returns => { 'services/100.xml' => $meta_xml }
);
- my $council = FixMyStreet::App->model('DB::Open311conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 1
} );
@@ -611,7 +611,7 @@ subtest 'check bromely skip code' => sub {
test_get_returns => { 'services/100.xml' => $meta_xml }
);
- my $council = FixMyStreet::App->model('DB::Open311conf')->new( {
+ my $council = FixMyStreet::App->model('DB::Body')->new( {
area_id => 2482
} );