diff options
author | Struan Donald <struan@exo.org.uk> | 2012-10-01 16:00:30 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-10-01 17:38:26 +0100 |
commit | 515190b62e24ab43e150c4d65b55c774682f2578 (patch) | |
tree | 80da0015ec7bfb0fb8dec41d54f36d8d9f0fbbdf /perllib/FixMyStreet/DB/Result/Problem.pm | |
parent | 741abb421c66bdf91a60a988d7250feb59c6ca45 (diff) |
tidy up status names in DB, improve tests a little
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/Problem.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/Result/Problem.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/DB/Result/Problem.pm b/perllib/FixMyStreet/DB/Result/Problem.pm index 27613c1c8..24d6d3966 100644 --- a/perllib/FixMyStreet/DB/Result/Problem.pm +++ b/perllib/FixMyStreet/DB/Result/Problem.pm @@ -190,7 +190,6 @@ sub open_states { 'investigating' => 1, 'planned' => 1, 'in progress' => 1, - 'in progress' => 1, 'action scheduled' => 1, }; @@ -231,7 +230,7 @@ sub closed_states { my $states = { 'closed' => 1, 'unable to fix' => 1, - 'not councils responsibility' => 1, + 'not responsible' => 1, 'duplicate' => 1, }; @@ -260,7 +259,7 @@ sub visible_states { 'fixed - council' => 1, 'fixed - user' => 1, 'unable to fix' => 1, - 'not councils responsibility' => 1, + 'not responsible' => 1, 'duplicate' => 1, 'closed' => 1, }; @@ -292,7 +291,7 @@ sub all_states { 'fixed - council' => 1, 'fixed - user' => 1, 'unable to fix' => 1, - 'not councils responsibility' => 1, + 'not responsible' => 1, 'duplicate' => 1, 'closed' => 1, }; @@ -318,7 +317,7 @@ sub council_states { 'action scheduled' => 1, 'fixed - council' => 1, 'unable to fix' => 1, - 'not councils responsibility' => 1, + 'not responsible' => 1, 'duplicate' => 1, }; |