aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-27 17:28:07 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-27 17:28:07 +0100
commit0c3c4a0be17118ff4d8e01168df5938a947f28f6 (patch)
tree5604f141fa32f8a11e7398253bb8b1ed841fd549 /t/app/controller
parentd40180650fbc0060c3d8cfbf9db60ca61b0e7e3a (diff)
council users should be able to set state to confirmed
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/report_updates.t12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 16165e8ae..72006dca8 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -510,6 +510,18 @@ for my $test (
},
state => 'fixed - council',
},
+ {
+ desc => 'from authority user marks report as confirmed',
+ fields => {
+ name => $user->name,
+ may_show_name => 1,
+ add_alert => 0,
+ photo => '',
+ update => 'Set state to investigating',
+ state => 'confirmed',
+ },
+ state => 'confirmed',
+ },
) {
subtest $test->{desc} => sub {
$report->comments->delete;