diff options
Diffstat (limited to 't')
-rw-r--r-- | t/cobrand/bathnes.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/cobrand/bathnes.t b/t/cobrand/bathnes.t index 42a8ffe93..006dd757d 100644 --- a/t/cobrand/bathnes.t +++ b/t/cobrand/bathnes.t @@ -72,8 +72,7 @@ subtest 'check override contact display name' => sub { 'extra[display_name]' => 'Wittering' }}); $mech->get_ok('/reports/Bath+and+North+East+Somerset'); - $mech->content_contains('Wittering</option>'); - $mech->content_contains('value="Litter"'); + $mech->content_like(qr/Traffic lights<\/option>\s*<option value="Litter">\s*Wittering<\/option>/); $mech->content_lacks('Litter</option>'); }; |