aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/TfL.pm2
-rw-r--r--t/cobrand/tfl.t3
2 files changed, 3 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/Cobrand/TfL.pm b/perllib/FixMyStreet/Cobrand/TfL.pm
index 6bc516366..9cf8910f9 100644
--- a/perllib/FixMyStreet/Cobrand/TfL.pm
+++ b/perllib/FixMyStreet/Cobrand/TfL.pm
@@ -209,7 +209,7 @@ sub around_nearby_filter {
sub state_groups_inspect {
my $rs = FixMyStreet::DB->resultset("State");
- my @open = grep { $_ !~ /^(planned|action scheduled|for triage)$/ } FixMyStreet::DB::Result::Problem->open_states;
+ my @open = grep { $_ !~ /^(planned|investigating|for triage)$/ } FixMyStreet::DB::Result::Problem->open_states;
my @closed = grep { $_ ne 'closed' } FixMyStreet::DB::Result::Problem->closed_states;
[
[ $rs->display('confirmed'), \@open ],
diff --git a/t/cobrand/tfl.t b/t/cobrand/tfl.t
index cf1ec1c41..3aabb07db 100644
--- a/t/cobrand/tfl.t
+++ b/t/cobrand/tfl.t
@@ -454,7 +454,8 @@ subtest 'Inspect form state choices' => sub {
my $id = $report->id;
$mech->get_ok("/report/$id");
$mech->content_lacks('for triage');
- $mech->content_lacks('action scheduled');
+ $mech->content_lacks('planned');
+ $mech->content_lacks('investigating');
};
subtest "change category, report resent to new location" => sub {