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/cobrand/bromley.t | |
parent | 9e75d02fd745f64dfee1f960196718c299d3bd0a (diff) |
Remove unused (except by tests) send_reports() fn.
Diffstat (limited to 't/cobrand/bromley.t')
-rw-r--r-- | t/cobrand/bromley.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/cobrand/bromley.t b/t/cobrand/bromley.t index a64337085..a3a807bb1 100644 --- a/t/cobrand/bromley.t +++ b/t/cobrand/bromley.t @@ -1,5 +1,6 @@ use CGI::Simple; use FixMyStreet::TestMech; +use FixMyStreet::Script::Reports; my $mech = FixMyStreet::TestMech->new; # Create test data @@ -54,7 +55,7 @@ subtest 'testing special Open311 behaviour', sub { STAGING_FLAGS => { send_reports => 1 }, ALLOWED_COBRANDS => [ 'fixmystreet', 'bromley' ], }, 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'; |