From 7556ddfc3d86a379476f272173efbc2fd9557262 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 23 Aug 2014 21:00:21 +0200 Subject: [PATCH] [ticket/337] Explicitly state UTF8 as encoding in tests B3P-337 --- tests/functional/portal_acp_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/portal_acp_test.php b/tests/functional/portal_acp_test.php index d59927d3..fd2d197b 100644 --- a/tests/functional/portal_acp_test.php +++ b/tests/functional/portal_acp_test.php @@ -86,7 +86,7 @@ class phpbb_functional_portal_acp_test extends \board3\portal\tests\testframewor // Take a look at the logs $crawler = self::request('GET', 'adm/index.php?i=acp_logs&mode=admin&sid=' . $this->sid); - $this->assertContains(strip_tags(html_entity_decode($this->lang('LOG_PORTAL_CONFIG', $this->lang('ACP_PORTAL_GENERAL_INFO')))), $crawler->text()); + $this->assertContains(strip_tags(html_entity_decode($this->lang('LOG_PORTAL_CONFIG', $this->lang('ACP_PORTAL_GENERAL_INFO')), ENT_COMPAT, 'UTF-8')), $crawler->text()); } public function test_portal_permissions()