diff options
author | Dave Arter <davea@mysociety.org> | 2016-11-22 13:04:25 +0000 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-12-13 16:31:10 +0000 |
commit | ec6389940afce877a0bc7771d11a27ee7183f96a (patch) | |
tree | faac683c3d9a5ec56b9e54d8913742f1169f0f5e /t/app/controller/report_display.t | |
parent | 05ba5147de9dc7b68f3c9048771fcabf80f20eca (diff) |
Make it clearer that report is closed when marked as duplicate
- Record state change when leaving update and marking as duplicate
- Change save button wording to match problem state when inspecting
- Make it clearer that updates marking a report as duplicate actually close the report
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 9817a640d..fad8b2bbb 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -117,7 +117,7 @@ subtest "duplicate reports are signposted correctly" => sub { my $report2_id = $report2->id; ok $mech->get("/report/$report2_id"), "get '/report/$report2_id'"; - $mech->content_contains('This report is a duplicate.'); + $mech->content_contains('This report is a duplicate'); $mech->content_contains($report->title); $mech->log_out_ok; |