diff options
Diffstat (limited to 't/app/01app.t')
-rw-r--r-- | t/app/01app.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/t/app/01app.t b/t/app/01app.t index df562b829..596e0de47 100644 --- a/t/app/01app.t +++ b/t/app/01app.t @@ -4,7 +4,7 @@ use strict; use warnings; package FixMyStreet::Cobrand::Tester; -use parent 'FixMyStreet::Cobrand::FiksGataMi'; +use parent 'FixMyStreet::Cobrand::FixaMinGata'; sub front_stats_data { { new => 0, fixed => 0, updates => 12345 } } package main; @@ -12,7 +12,6 @@ package main; use Test::More; use Catalyst::Test 'FixMyStreet::App'; use charnames ':full'; -use Encode qw(encode); ok( request('/')->is_success, 'Request should succeed' ); @@ -20,10 +19,8 @@ SKIP: { FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'tester' ], }, sub { - skip 'Test will not pass on Mac OS', 1 if $^O eq 'darwin'; - my $page = get('/'); - my $num = encode('UTF-8', "12\N{NO-BREAK SPACE}345"); + my $num = "12 345"; like $page, qr/$num/; }; } |