aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2018-04-23 13:24:29 +0100
committerDave Arter <davea@mysociety.org>2018-04-23 15:09:57 +0100
commitfc48ae3549b35f489e77b847a883510fa7a995e4 (patch)
treecf47d81325d1ae85bf96e472b449e9914a65242b /t
parenta51125241505d15f9b0d48cc2f9b6551d186cd8f (diff)
Don’t trigger response templates unless problem state changes
Response templates won't be triggered unless the problem state or external status code is changed. Fixes #2075
Diffstat (limited to 't')
-rw-r--r--t/open311/getservicerequestupdates.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/open311/getservicerequestupdates.t b/t/open311/getservicerequestupdates.t
index cc319cbdc..32fe4bc9e 100644
--- a/t/open311/getservicerequestupdates.t
+++ b/t/open311/getservicerequestupdates.t
@@ -358,6 +358,18 @@ for my $test (
end_state => 'investigating',
},
{
+ desc => 'unchanging state does not trigger auto-response template',
+ description => '',
+ xml_description => '',
+ external_id => 638344,
+ start_state => 'investigating',
+ comment_status => 'INVESTIGATING',
+ mark_fixed => 0,
+ mark_open => 0,
+ problem_state => 'investigating',
+ end_state => 'investigating',
+ },
+ {
desc => 'open status does not re-open hidden report',
description => 'This is a note',
external_id => 638344,