aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-03-13 18:04:55 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-03-13 21:54:29 +0000
commit76e533bd318cb4208faa1bf5cd0c00bde9e08e6c (patch)
tree7ada0b46c3e75b4d3977ca27960638c191354cc7 /t/app/controller/report_import.t
parente22563a5c8fde74a8a6f1de29948eb45487e9597 (diff)
Factor out test contact creation to function.
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r--t/app/controller/report_import.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index e5e9e2899..0631b4209 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -372,3 +372,7 @@ subtest "Submit a correct entry (with location) to cobrand" => sub {
};
done_testing();
+
+END {
+ $mech->delete_body($body);
+}