aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-05-24 15:32:01 +0100
committerStruan Donald <struan@exo.org.uk>2012-05-24 15:32:01 +0100
commitf4e2d66889a825d13ad4af6e8ad9168ceb7024b7 (patch)
tree047ad5d3018286a562542d1d30d2fe8483da1378 /t/app/controller
parent0b407b081762ffcb4ab3be666c7b12f67f9d4a4f (diff)
problem_status is only set for council user updates so check for
mark_fixed and null problem_status to identify user - fixed updates
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/dashboard.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/dashboard.t b/t/app/controller/dashboard.t
index b477c03bf..7033fa02c 100644
--- a/t/app/controller/dashboard.t
+++ b/t/app/controller/dashboard.t
@@ -591,7 +591,7 @@ sub make_problem {
problem => $p,
user_id => $p_user->id,
state => 'confirmed',
- problem_state => $args->{state},
+ problem_state => $args->{state} =~ /^fixed - user|fixed$/ ? undef : $args->{state},
confirmed => $args->{mark_dt},
text => 'an update',
mark_fixed => $args->{state} =~ /fixed/ ? 1 : 0,