diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-05-27 13:33:27 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-05-27 13:33:27 +0100 |
commit | 8a03006831b2ad47f1dc1b066aa2af951ff29001 (patch) | |
tree | 164e37206bad0acfbde21aeed09e25a2ef48d80e /t/app/controller | |
parent | 7b7e00c16f6d31ff77b9f28e63aac3b608f2bfbb (diff) | |
parent | 901834444846905c85e56528b020bd1a667cb5d2 (diff) |
Merge branch 'he-still-bit-buggy-grr'
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_new.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index d2da75f2c..6af709c2c 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -641,10 +641,10 @@ subtest "category groups" => sub { } }, sub { $contact2->update( { extra => { group => ['Roads','Pavements'] } } ); - $contact9->update( { extra => { group => 'Roads' } } ); + $contact9->update( { extra => { group => 'Pavements' } } ); $contact10->update( { extra => { group => 'Roads' } } ); $mech->get_ok("/report/new?lat=$saved_lat&lon=$saved_lon"); - $mech->content_like(qr{<optgroup label="Pavements">\s*<option value='Potholes'>Potholes</option></optgroup>}); + $mech->content_like(qr{<optgroup label="Pavements">\s*<option value='Potholes'>Potholes</option>\s*<option value='Street lighting'>Street lighting</option></optgroup>}); $mech->content_like(qr{<optgroup label="Roads">\s*<option value='Potholes'>Potholes</option>\s*<option value='Street lighting'>Street lighting</option></optgroup>}); }; }; |