aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2019-09-26 14:08:58 +0100
committerStruan Donald <struan@exo.org.uk>2019-09-27 17:43:38 +0100
commit85dd4e1058dd2a5c54951bd966a2625d23478155 (patch)
tree8b10b3154e1badd43707ded3281ff3f52e8ece49 /t/app/controller
parent69bcfbc29f16fe4b1e951307b23a819e5b48f10a (diff)
[IsleOfWight] do not send comment recording triage action
This is only used for audit purposes on FixMyStreet and not required in Confirm.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/admin/triage.t3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/app/controller/admin/triage.t b/t/app/controller/admin/triage.t
index 0bc253150..6c84d1ff4 100644
--- a/t/app/controller/admin/triage.t
+++ b/t/app/controller/admin/triage.t
@@ -40,8 +40,6 @@ my ($report) = $mech->create_problems_for_body(
}
);
-warn $report->bodies_str;
-
FixMyStreet::override_config {
STAGING_FLAGS => { send_reports => 1, skip_checks => 0 },
ALLOWED_COBRANDS => [ 'isleofwight' ],
@@ -110,6 +108,7 @@ FixMyStreet::override_config {
is $extra->{triage_report}, 1, 'comment indicates it is for triage in extra';
is $extra->{holding_category}, 'Potholes', 'comment extra has previous category';
is $extra->{new_category}, 'Traffic lights', 'comment extra has new category';
+ ok $comment->whensent, 'comment is marked as sent';
$mech->get_ok($report_url);
$mech->content_contains('Report triaged from Potholes to Traffic lights');