diff options
author | Andrey Andreev <narf@devilix.net> | 2021-12-20 14:47:39 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2021-12-20 14:51:13 +0100 |
commit | 74384ca7f88913b87e982696bb5cb3eb5593c451 (patch) | |
tree | 3a17b60268a1869c6ee42468153a34020c2a11ac /tests/codeigniter/helpers/array_helper_test.php | |
parent | d9218efec1d89e9d633b73f367bcc7b676400621 (diff) |
Merge pull request #6074 from philsturgeon/ci3-php8
CodeIgniter 3.0 on PHP 8
Diffstat (limited to 'tests/codeigniter/helpers/array_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/array_helper_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/codeigniter/helpers/array_helper_test.php b/tests/codeigniter/helpers/array_helper_test.php index b2409c330..f4e344673 100644 --- a/tests/codeigniter/helpers/array_helper_test.php +++ b/tests/codeigniter/helpers/array_helper_test.php @@ -38,8 +38,8 @@ class Array_helper_test extends CI_TestCase { public function test_elements() { - $this->assertInternalType('array', elements('test', $this->my_array)); - $this->assertInternalType('array', elements('foo', $this->my_array)); + $this->assertEquals('array', gettype(elements('test', $this->my_array))); + $this->assertEquals('array', gettype(elements('foo', $this->my_array))); } } |