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/fixamingata.t | |
parent | 9e75d02fd745f64dfee1f960196718c299d3bd0a (diff) |
Remove unused (except by tests) send_reports() fn.
Diffstat (limited to 't/cobrand/fixamingata.t')
-rw-r--r-- | t/cobrand/fixamingata.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/cobrand/fixamingata.t b/t/cobrand/fixamingata.t index 133a8c950..0aa264660 100644 --- a/t/cobrand/fixamingata.t +++ b/t/cobrand/fixamingata.t @@ -1,5 +1,6 @@ use mySociety::Locale; +use FixMyStreet::Script::Reports; use FixMyStreet::TestMech; my $mech = FixMyStreet::TestMech->new; @@ -35,7 +36,7 @@ $mech->email_count_is(0); FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'fixamingata' ], }, sub { - FixMyStreet::DB->resultset('Problem')->send_reports(); + FixMyStreet::Script::Reports::send(); }; my $email = $mech->get_email; my $plain = $mech->get_text_body_from_email($email, 1); |