From 70ee98a9c00c79621db919e79082762ace00fe70 Mon Sep 17 00:00:00 2001 From: gggeek Date: Sun, 12 Jul 2015 00:05:34 +0100 Subject: [PATCH] Try to stabilize recently introduced test --- tests/3LocalhostTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/3LocalhostTest.php b/tests/3LocalhostTest.php index ec9c561..9d848ab 100644 --- a/tests/3LocalhostTest.php +++ b/tests/3LocalhostTest.php @@ -205,9 +205,9 @@ class LocalhostTest extends PHPUnit_Framework_TestCase '; // these calls will have no charset declaration in either http headers or xml prolog - $v = $this->send(mb_convert_encoding($str, 'UCS-4')); + $v = $this->send(mb_convert_encoding($str, 'UCS-4', 'UTF-8')); $this->assertEquals($sendString, $v->scalarval()); - $v = $this->send(mb_convert_encoding($str, 'UTF-16')); + $v = $this->send(mb_convert_encoding($str, 'UTF-16', 'UTF-8')); $this->assertEquals($sendString, $v->scalarval()); } -- 2.43.0