diff options
author | Struan Donald <struan@exo.org.uk> | 2011-10-20 14:54:50 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-10-20 14:54:50 +0100 |
commit | c81eae7c7a4b7421333bc9031be024b7a973f942 (patch) | |
tree | b7fa9b91d5479ce05705e05d6264718c947f9801 | |
parent | defbab5612b665a9dede7894faa2755940fa1414 (diff) |
fix some failing encoding tests
-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" ); |