From 5e79f1b0dda522efcd1a0cb379d6e7fb1f5cc557 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 5 Jan 2022 17:43:34 +0200 Subject: Fix broken tests in develop --- tests/codeigniter/core/Input_test.php | 8 -------- tests/codeigniter/core/Utf8_test.php | 2 +- tests/mocks/database/ci_test.sqlite | Bin 19456 -> 19456 bytes 3 files changed, 1 insertion(+), 9 deletions(-) (limited to 'tests') diff --git a/tests/codeigniter/core/Input_test.php b/tests/codeigniter/core/Input_test.php index 72198b905..93d1b7118 100644 --- a/tests/codeigniter/core/Input_test.php +++ b/tests/codeigniter/core/Input_test.php @@ -26,14 +26,6 @@ class Input_test extends CI_TestCase { // -------------------------------------------------------------------- - public function tear_down() - { - $_POST = []; - $_GET = []; - } - - // -------------------------------------------------------------------- - public function test_get_not_exists() { $this->assertSame(array(), $this->input->get()); diff --git a/tests/codeigniter/core/Utf8_test.php b/tests/codeigniter/core/Utf8_test.php index 776213204..8ae51b8af 100644 --- a/tests/codeigniter/core/Utf8_test.php +++ b/tests/codeigniter/core/Utf8_test.php @@ -59,7 +59,7 @@ class Utf8_test extends CI_TestCase { elseif (ICONV_ENABLED) { // This is a known issue, iconv doesn't always work with //IGNORE - $this->assertContains($this->utf8->clean_string($illegal_utf8), array('тест', '')); + $this->assertContains($utf8->clean_string($illegal_utf8), array('тест', '')); } else { diff --git a/tests/mocks/database/ci_test.sqlite b/tests/mocks/database/ci_test.sqlite index cc76bd681..721fbd525 100755 Binary files a/tests/mocks/database/ci_test.sqlite and b/tests/mocks/database/ci_test.sqlite differ -- cgit v1.2.3-24-g4f1b