diff options
author | George Petculescu <gxgpet@gmail.com> | 2021-09-26 22:56:39 +0200 |
---|---|---|
committer | George Petculescu <gxgpet@gmail.com> | 2021-09-26 22:56:39 +0200 |
commit | 5afd6af3f3293a27db5377b3f97ca88df07174b1 (patch) | |
tree | bd3598444f5fff4240ba0719043cd7c04587334a /tests/codeigniter/helpers/array_helper_test.php | |
parent | 4fa09ccaa80770ed11a2fdf6f1e28c5e14914be4 (diff) |
Adds PHP 8 in Travis
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))); } } |