aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/tfl.t
diff options
context:
space:
mode:
Diffstat (limited to 't/cobrand/tfl.t')
-rw-r--r--t/cobrand/tfl.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/cobrand/tfl.t b/t/cobrand/tfl.t
index abfb924ff..48bc6e46e 100644
--- a/t/cobrand/tfl.t
+++ b/t/cobrand/tfl.t
@@ -247,6 +247,14 @@ subtest 'Dashboard CSV extra columns' => sub {
$mech->content_contains(',,,yes,busstops@example.com,,' . $dt . ',"Council User"');
};
+subtest 'Inspect form state choices' => sub {
+ my $report = FixMyStreet::DB->resultset("Problem")->find({ title => 'Test Report 1'});
+ my $id = $report->id;
+ $mech->get_ok("/report/$id");
+ $mech->content_lacks('for triage');
+ $mech->content_lacks('action scheduled');
+};
+
subtest "change category, report resent to new location" => sub {
my $report = FixMyStreet::DB->resultset("Problem")->find({ title => 'Test Report 1'});
my $id = $report->id;