aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-10-03 14:30:15 +0100
committerStruan Donald <struan@exo.org.uk>2012-10-03 14:30:15 +0100
commitce56254b7e6ac383032918f06f3e98e7e6ed661b (patch)
tree7e951aeb0113c0789102531859a56c82fa632275 /t/open311
parentfaf97483fc3bd0ced6ed9ef6764427083e9ba6a7 (diff)
add in test for FIXED status
Diffstat (limited to 't/open311')
-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 c7d12391a..f9ea4ab01 100644
--- a/t/open311/getservicerequestupdates.t
+++ b/t/open311/getservicerequestupdates.t
@@ -177,6 +177,18 @@ for my $test (
end_state => 'duplicate',
},
{
+ desc => 'fixed status changes problem status',
+ updated_datetime => sprintf( '<updated_datetime>%s</updated_datetime>', $dt ),
+ description => 'This is a note',
+ external_id => 638344,
+ start_state => 'confirmed',
+ comment_status => 'FIXED',
+ mark_fixed=> 0,
+ mark_open => 0,
+ problem_state => 'fixed - council',
+ end_state => 'fixed - council',
+ },
+ {
desc => 'comment closes report',
updated_datetime => sprintf( '<updated_datetime>%s</updated_datetime>', $dt ),
description => 'This is a note',