diff options
author | M Somerville <matthew-github@dracos.co.uk> | 2020-08-11 15:46:06 +0100 |
---|---|---|
committer | M Somerville <matthew-github@dracos.co.uk> | 2020-10-12 13:38:07 +0100 |
commit | 90d23fc7b21f4391aeb92418e212195a18d72d5e (patch) | |
tree | 172e7c8737d61c61b9222a15861ac246704ab724 /t/app/controller | |
parent | e008a0b1ddd45e9afed4198a32b20d6c4f5c6d66 (diff) |
[Oxfordshire] Extra questions for raising defect.
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_inspect.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/report_inspect.t b/t/app/controller/report_inspect.t index 367327c16..d5eaed2c1 100644 --- a/t/app/controller/report_inspect.t +++ b/t/app/controller/report_inspect.t @@ -920,10 +920,12 @@ FixMyStreet::override_config { $mech->submit_form_ok({ button => 'save', with_fields => { public_update => "This is a public update.", include_update => "1", state => 'action scheduled', raise_defect => 1, + defect_item_category => 'Kerbing', } }); $report2->discard_changes; is $report2->get_extra_metadata('inspected'), 1, 'report marked as inspected'; $mech->get_ok("/report/$report2_id"); + $mech->content_like(qr/Defect category<\/dt>\s*<dd>Kerbing/); my $meta = $mech->extract_update_metas; like $meta->[0], qr/State changed to: Action scheduled/, 'First update mentions action scheduled'; like $meta->[1], qr/Posted by .*defect raised/, 'Update mentions defect raised'; |