diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-03-12 09:56:30 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-03-31 09:48:39 +0100 |
commit | 80e17014ca70571666e7524d1a161873f18581c3 (patch) | |
tree | a88fb8846e39399b2b28a5f82fe2f23759b096f3 /t/cobrand | |
parent | 7ed376410d38c3d86981f005d12ad77e3f1501d1 (diff) |
Refactor Script::Report into an object.
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/bexley.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cobrand/bexley.t b/t/cobrand/bexley.t index b8682edad..55ee1278e 100644 --- a/t/cobrand/bexley.t +++ b/t/cobrand/bexley.t @@ -156,7 +156,7 @@ FixMyStreet::override_config { $mech->submit_form_ok({ with_fields => { category => 'Gulley covers' } }); $test_data = FixMyStreet::Script::Reports::send(); - is $test_data, undef, 'Report not resent'; + is_deeply $test_data, {}, 'Report not resent'; $mech->submit_form_ok({ with_fields => { category => 'Lamp post' } }); $test_data = FixMyStreet::Script::Reports::send(); |