diff options
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/contact.t | 2 | ||||
-rw-r--r-- | t/app/controller/report_inspect.t | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/t/app/controller/contact.t b/t/app/controller/contact.t index aabf915ad..7c2769b9c 100644 --- a/t/app/controller/contact.t +++ b/t/app/controller/contact.t @@ -99,7 +99,7 @@ for my $test ( $mech->content_contains( $test->{update}->{text} ); } else { $mech->get_ok( '/contact?id=' . $problem->id ); - $mech->content_contains('Does this report break our'); + $mech->content_contains('reporting the following problem'); $mech->content_contains( $test->{title} ); $mech->content_contains( $test->{meta} ); } diff --git a/t/app/controller/report_inspect.t b/t/app/controller/report_inspect.t index 70b8c9586..1f11829b7 100644 --- a/t/app/controller/report_inspect.t +++ b/t/app/controller/report_inspect.t @@ -157,8 +157,8 @@ FixMyStreet::override_config { $user->user_body_permissions->delete; $user->user_body_permissions->create({ body => $oxon, permission_type => $test->{type} }); $mech->get_ok("/report/$report_id"); - $mech->contains_or_lacks($test->{priority}, 'Priority'); - $mech->contains_or_lacks($test->{priority}, 'High'); + $mech->contains_or_lacks($test->{priority}, 'Priority</label>'); + $mech->contains_or_lacks($test->{priority}, '>High'); $mech->contains_or_lacks($test->{category}, 'Category'); $mech->contains_or_lacks($test->{detailed}, 'Extra details'); $mech->submit_form_ok({ |