diff options
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/01app.t | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/app/01app.t b/t/app/01app.t index 596e0de47..7b933973b 100644 --- a/t/app/01app.t +++ b/t/app/01app.t @@ -2,6 +2,7 @@ use strict; use warnings; +use utf8; package FixMyStreet::Cobrand::Tester; use parent 'FixMyStreet::Cobrand::FixaMinGata'; @@ -9,6 +10,7 @@ sub front_stats_data { { new => 0, fixed => 0, updates => 12345 } } package main; +use Encode; use Test::More; use Catalyst::Test 'FixMyStreet::App'; use charnames ':full'; @@ -19,8 +21,8 @@ SKIP: { FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'tester' ], }, sub { - my $page = get('/'); - my $num = "12 345"; + my $page = decode_utf8(get('/')); + my $num = "12( | )345"; like $page, qr/$num/; }; } |