diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-07-02 14:20:42 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-07-02 14:20:42 +0100 |
commit | 510af28e0bcda19b4f2bf181aaebc05975a7533f (patch) | |
tree | d8e6791fc62c9bb905794a9f24db0aa0b055de78 /t/app | |
parent | 3dd1d1f2cb68b731d23ecea9eb580fe08a190ce8 (diff) | |
parent | 0fee017e4a3d3aac6653f2892cc0950d354f3f91 (diff) |
Merge branch '1084-quote-names'
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/; }; } |