diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/codeigniter/core/Utf8_test.php | 4 | ||||
-rw-r--r-- | tests/mocks/core/utf8.php | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/tests/codeigniter/core/Utf8_test.php b/tests/codeigniter/core/Utf8_test.php index 71299134e..2cf404841 100644 --- a/tests/codeigniter/core/Utf8_test.php +++ b/tests/codeigniter/core/Utf8_test.php @@ -18,8 +18,8 @@ class Utf8_test extends CI_TestCase { public function test_is_ascii() { - $this->assertTrue($this->utf8->is_ascii_test('foo bar')); - $this->assertFalse($this->utf8->is_ascii_test('тест')); + $this->assertTrue($this->utf8->is_ascii('foo bar')); + $this->assertFalse($this->utf8->is_ascii('тест')); } }
\ No newline at end of file diff --git a/tests/mocks/core/utf8.php b/tests/mocks/core/utf8.php index 30b78adfe..c8214a62a 100644 --- a/tests/mocks/core/utf8.php +++ b/tests/mocks/core/utf8.php @@ -13,9 +13,4 @@ class Mock_Core_Utf8 extends CI_Utf8 { defined('UTF8_ENABLED') OR define('UTF8_ENABLED', TRUE); } - public function is_ascii_test($str) - { - return $this->_is_ascii($str); - } - }
\ No newline at end of file |