aboutsummaryrefslogtreecommitdiffstats
path: root/t/sendreport
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/sendreport
parent9e75d02fd745f64dfee1f960196718c299d3bd0a (diff)
Remove unused (except by tests) send_reports() fn.
Diffstat (limited to 't/sendreport')
-rw-r--r--t/sendreport/open311.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/sendreport/open311.t b/t/sendreport/open311.t
index 52b1952f4..1eb5535aa 100644
--- a/t/sendreport/open311.t
+++ b/t/sendreport/open311.t
@@ -1,4 +1,5 @@
use CGI::Simple;
+use FixMyStreet::Script::Reports;
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -25,7 +26,7 @@ subtest 'testing Open311 behaviour', sub {
STAGING_FLAGS => { send_reports => 1 },
ALLOWED_COBRANDS => [ 'fixmystreet' ],
}, sub {
- $test_data = FixMyStreet::DB->resultset('Problem')->send_reports();
+ $test_data = FixMyStreet::Script::Reports::send();
};
$report->discard_changes;
ok $report->whensent, 'Report marked as sent';