diff options
author | Marius Halden <marius.h@lden.org> | 2020-09-29 14:23:52 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2020-09-29 14:23:52 +0200 |
commit | a27ce1524d801d2742a2bdb6ec1da45126d64353 (patch) | |
tree | 64123c4e17dc1776aa0a7cd65ee01d49d3e7d978 /t/app/controller/about.t | |
parent | 377bd96aab7cad3434185c30eb908c9da447fe40 (diff) | |
parent | 2773c60226b9370fe8ee00f7b205b571bb87c3b5 (diff) |
Merge tag 'v3.0.1' into fiksgatami-dev
Diffstat (limited to 't/app/controller/about.t')
-rw-r--r-- | t/app/controller/about.t | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/t/app/controller/about.t b/t/app/controller/about.t index 04d902bc5..e1ffc34bb 100644 --- a/t/app/controller/about.t +++ b/t/app/controller/about.t @@ -4,6 +4,7 @@ sub path_to_web_templates { [ FixMyStreet->path_to( 't', 'app', 'controller', 't package main; +use utf8; use FixMyStreet::TestMech; ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' ); @@ -23,12 +24,12 @@ ok !$mech->res->is_success(), "want a bad response"; is $mech->res->code, 404, "got 404"; FixMyStreet::override_config { - ALLOWED_COBRANDS => [ 'fiksgatami' ], + ALLOWED_COBRANDS => [ 'fixamingata' ], }, sub { - ok $mech->host("www.fiksgatami.no"), 'host to fiksgatami'; + ok $mech->host("www.fixamingata.se"), 'host to fixamingata'; $mech->get_ok('/faq'); - $mech->content_like(qr{Ofte spurte spørsmål ::}); - $mech->content_contains('html class="no-js" lang="nb"'); + $mech->content_like(qr{Vanliga frågor ::}); + $mech->content_contains('html class="no-js" lang="sv"'); }; $mech->get_ok('/'); |