aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/sendreport
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-07-13 09:51:00 +0100
committerStruan Donald <struan@exo.org.uk>2017-08-09 17:03:48 +0100
commite00c75d7f19bc45879c254ea77dce32df825f3a7 (patch)
tree7fd42ffd93fa244f81a84d8a5ace4f7be03b81c7 /t/app/sendreport
parent46b9d8989d5ac2f8eedd196d11ceb4baf57728dd (diff)
Move FixMyStreet::DB to FixMyStreet::DB::Schema.
Store a schema object on FixMyStreet::DB instead.
Diffstat (limited to 't/app/sendreport')
-rw-r--r--t/app/sendreport/open311.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/sendreport/open311.t b/t/app/sendreport/open311.t
index 8f933065c..32564dbd8 100644
--- a/t/app/sendreport/open311.t
+++ b/t/app/sendreport/open311.t
@@ -157,7 +157,7 @@ sub test_overrides {
FixMyStreet::override_config {
ALLOWED_COBRANDS => ['fixmystreet', 'oxfordshire', 'bromley', 'westberkshire', 'greenwich'],
}, sub {
- my $db = FixMyStreet::DB->storage->schema;
+ my $db = FixMyStreet::DB->schema;
#$db->txn_begin;
my $params = { id => $input->{body_id}, name => $input->{body_name} };