From 2ff9ac5608652991c14e2d16fd4facd5cd9e74e2 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Mon, 7 Oct 2013 14:16:25 +1300 Subject: [PATCH] MDL-41197 fix unit tests --- lib/tests/textlib_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tests/textlib_test.php b/lib/tests/textlib_test.php index d9daf1a714b9b..31cbf839c8e94 100644 --- a/lib/tests/textlib_test.php +++ b/lib/tests/textlib_test.php @@ -93,8 +93,8 @@ public function test_convert() { $this->assertSame(textlib::convert($utf8, 'utf-8', 'utf-8'), $utf8); $utf8 = "Žluťoučký koníček"; - $this->assertSame('Zlutouck\'y kon\'icek', core_text::convert($utf8, 'utf-8', 'ascii')); - $this->assertSame($utf8, core_text::convert($utf8.chr(130), 'utf-8', 'utf-8')); + $this->assertSame('Zlutoucky konicek', textlib::convert($utf8, 'utf-8', 'ascii')); + $this->assertSame($utf8, textlib::convert($utf8.chr(130), 'utf-8', 'utf-8')); } /**