diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-20 16:50:40 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-09-20 17:16:58 +0100 |
commit | 3aca6e562872f6eb27ea7b8a9b31b415d07ddf46 (patch) | |
tree | 4e6cd65f54917da798c64e5f6e8f9c53526005c0 /t/app/controller | |
parent | 35b2e8fbcb4d382377ca8652d058dc263707b82b (diff) | |
parent | ac8145c7ec2d648be0c687d2d0037757f4142eaf (diff) |
Merge remote-tracking branch 'origin/issues/forcouncils/89-tidy-report-admin-actions'
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/my_planned.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/app/controller/my_planned.t b/t/app/controller/my_planned.t index 25f82224e..7bd1dd2cd 100644 --- a/t/app/controller/my_planned.t +++ b/t/app/controller/my_planned.t @@ -13,8 +13,8 @@ my $body = $mech->create_body_ok(2237, 'Oxfordshire'); my ($problem) = $mech->create_problems_for_body(1, $body->id, 'Test Title'); $mech->get_ok($problem->url); -$mech->content_lacks('Add to planned reports'); -$mech->content_lacks('Remove from planned reports'); +$mech->content_lacks('Shortlist'); +$mech->content_lacks('Shortlisted'); my $user = $mech->log_in_ok( 'test@example.com' ); $user->update({ from_body => $body }); @@ -39,11 +39,11 @@ $mech->get_ok('/my/planned'); $mech->content_contains('Test Title'); $mech->get_ok($problem->url); -$mech->content_contains('Remove from planned reports'); +$mech->content_contains('Shortlisted'); $mech->submit_form_ok({ with_fields => { change => 'remove' } }); -$mech->content_contains('Add to planned reports'); +$mech->content_contains('Shortlist'); $mech->submit_form_ok({ with_fields => { change => 'add' } }); -$mech->content_contains('Remove from planned reports'); +$mech->content_contains('Shortlisted'); done_testing(); |