aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model/problem.t
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-01-22 01:57:26 +0000
committerDave Whiteland <dave@mysociety.org>2013-01-22 01:57:26 +0000
commit7b5bfa4d29640197a5eaaeff208c5b1a1a4e1221 (patch)
tree6f481f6725318b179c34e294794ff70dbb9b6db4 /t/app/model/problem.t
parentcc7fb1eb334f450e8c9af0e1d4f8329d5f24eafd (diff)
parent95d6bb8fcced530ad68438ed9a44a47cb38f0014 (diff)
Merge remote branch 'origin/master'
Diffstat (limited to 't/app/model/problem.t')
-rw-r--r--t/app/model/problem.t28
1 files changed, 28 insertions, 0 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index 63204e05c..040790184 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -302,6 +302,13 @@ for my $test (
is_closed => 0,
},
{
+ state => 'action scheduled',
+ is_visible => 1,
+ is_fixed => 0,
+ is_open => 1,
+ is_closed => 0,
+ },
+ {
state => 'in progress',
is_visible => 1,
is_fixed => 0,
@@ -309,6 +316,27 @@ for my $test (
is_closed => 0,
},
{
+ state => 'duplicate',
+ is_visible => 1,
+ is_fixed => 0,
+ is_open => 0,
+ is_closed => 1,
+ },
+ {
+ state => 'not responsible',
+ is_visible => 1,
+ is_fixed => 0,
+ is_open => 0,
+ is_closed => 1,
+ },
+ {
+ state => 'unable to fix',
+ is_visible => 1,
+ is_fixed => 0,
+ is_open => 0,
+ is_closed => 1,
+ },
+ {
state => 'fixed',
is_visible => 1,
is_fixed => 1,