diff options
author | Struan Donald <struan@exo.org.uk> | 2011-10-20 20:35:21 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-10-20 20:35:21 +0100 |
commit | 6923018a0bdf4a996b2cf15a56ba887009e66aab (patch) | |
tree | 4b5d029faa478c3c6c3422a4eaf9a670560f7f69 /t/app/controller/report_new.t | |
parent | e452ace27c4a13557a0ec878e74ebf19d1d1a347 (diff) | |
parent | 64cc9b22581f24acffbdae19ef6f06b96334135f (diff) |
Merge branch 'open311-consumer'
Diffstat (limited to 't/app/controller/report_new.t')
-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 06d49e3c1..9ec8fa4a8 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" ); |