diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-01 17:42:43 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-01 17:42:43 +0100 |
commit | ba53a2c2d8189ecaeca2c0e774c6dda54579dec9 (patch) | |
tree | 5f97f0be809f11e4f3bc2998ee557a9813ca802a /t/app/controller/report_updates.t | |
parent | 515190b62e24ab43e150c4d65b55c774682f2578 (diff) |
change update form to use new statuses
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r-- | t/app/controller/report_updates.t | 60 |
1 files changed, 48 insertions, 12 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index cf6af16cb..4a2aea7ef 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -501,18 +501,6 @@ for my $test ( state => 'in progress', }, { - desc => 'from authority user marks report as closed', - fields => { - name => $user->name, - may_show_name => 1, - add_alert => undef, - photo => '', - update => 'Set state to closed', - state => 'closed', - }, - state => 'closed', - }, - { desc => 'from authority user marks report as fixed', fields => { name => $user->name, @@ -537,6 +525,54 @@ for my $test ( state => 'confirmed', }, { + desc => 'from authority user marks report as action scheduled', + fields => { + name => $user->name, + may_show_name => 1, + add_alert => undef, + photo => '', + update => 'Set state to action scheduled', + state => 'action scheduled', + }, + state => 'action scheduled', + }, + { + desc => 'from authority user marks report as unable to fix', + fields => { + name => $user->name, + may_show_name => 1, + add_alert => undef, + photo => '', + update => 'Set state to unable to fix', + state => 'unable to fix', + }, + state => 'unable to fix', + }, + { + desc => 'from authority user marks report as not responsible', + fields => { + name => $user->name, + may_show_name => 1, + add_alert => undef, + photo => '', + update => 'Set state to not responsible', + state => 'not responsible', + }, + state => 'not responsible', + }, + { + desc => 'from authority user marks report as duplicate', + fields => { + name => $user->name, + may_show_name => 1, + add_alert => undef, + photo => '', + update => 'Set state to duplicate', + state => 'duplicate', + }, + state => 'duplicate', + }, + { desc => 'from authority user marks report sent to two councils as fixed', fields => { name => $user->name, |