diff options
-rw-r--r-- | t/app/controller/report_new.t | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index 9158231df..a071d3fda 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -1,6 +1,7 @@ use strict; use warnings; use Test::More; +use utf8; use FixMyStreet::TestMech; use Web::Scraper; @@ -565,7 +566,7 @@ foreach my $test ( $mech->submit_form_ok( { with_fields => { - title => "Test Report at caf\xc3\xa9", + title => "Test Report at café", detail => 'Test report details.', photo => '', name => 'Joe Bloggs', @@ -620,7 +621,7 @@ foreach my $test ( } -$contact2->category( "Pothol\xe9s" ); +$contact2->category( "Pothol\xc3\xa9s" ); $contact2->update; $mech->get_ok( '/report/new/ajax?latitude=' . $saved_lat . '&longitude=' . $saved_lon ); $mech->content_contains( "Pothol\xc3\xa9s" ); |