diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-15 16:44:02 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-01-15 16:44:05 +0000 |
commit | 68ba122ede2e5b19f76e671f6cf910d5047686d0 (patch) | |
tree | ee40c9749286b5485ae445f5d05dba75592a2651 /t/sendreport | |
parent | 9e75d02fd745f64dfee1f960196718c299d3bd0a (diff) |
Remove unused (except by tests) send_reports() fn.
Diffstat (limited to 't/sendreport')
-rw-r--r-- | t/sendreport/open311.t | 3 |
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'; |