aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-21 17:53:08 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-21 17:53:08 +0100
commit2f3388de9ee449080febabd47876620c82d56895 (patch)
tree90e58bd544c17e601ef1adf1dce02a2b824c298a
parent324a85f188dab366102ef30976c5c6192a070047 (diff)
unconfirmed is not really an open state
-rw-r--r--perllib/FixMyStreet/DB/Result/Problem.pm1
-rw-r--r--t/app/model/problem.t2
2 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm
index 65a2268b6..c607cc89b 100644
--- a/perllib/FixMyStreet/DB/Result/Problem.pm
+++ b/perllib/FixMyStreet/DB/Result/Problem.pm
@@ -131,7 +131,6 @@ HASHREF.
sub open_states {
my $states = {
- 'unconfirmed' => 1,
'confirmed' => 1,
'investigating' => 1,
'planned' => 1,
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index 43f15dbde..e7c9d79bb 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -155,7 +155,7 @@ for my $test (
for my $test (
{
state => 'unconfirmed',
- is_open => 1,
+ is_open => 0,
},
{
state => 'confirmed',