aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/zurich.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-01-15 16:44:02 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-01-15 16:44:05 +0000
commit68ba122ede2e5b19f76e671f6cf910d5047686d0 (patch)
treeee40c9749286b5485ae445f5d05dba75592a2651 /t/cobrand/zurich.t
parent9e75d02fd745f64dfee1f960196718c299d3bd0a (diff)
Remove unused (except by tests) send_reports() fn.
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r--t/cobrand/zurich.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index e0671db2a..8c2c70c2f 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -7,6 +7,7 @@ use LWP::Protocol::PSGI;
use Test::LongString;
use Path::Tiny;
use t::Mock::MapItZurich;
+use FixMyStreet::Script::Reports;
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -36,7 +37,7 @@ sub send_reports_for_zurich {
ALLOWED_COBRANDS => ['zurich']
}, sub {
# Actually send the report
- FixMyStreet::DB->resultset('Problem')->send_reports('zurich');
+ FixMyStreet::Script::Reports::send('zurich');
};
}
sub reset_report_state {