diff options
author | George Petculescu <gxgpet@gmail.com> | 2021-09-26 22:56:39 +0200 |
---|---|---|
committer | George Petculescu <gxgpet@gmail.com> | 2021-10-04 15:36:25 +0200 |
commit | 9f6925398097a4f655827dc4030c82d435e27ae8 (patch) | |
tree | bd3598444f5fff4240ba0719043cd7c04587334a /tests/codeigniter/helpers/string_helper_test.php | |
parent | 4fa09ccaa80770ed11a2fdf6f1e28c5e14914be4 (diff) |
Adds PHP 8 in Travis
Diffstat (limited to 'tests/codeigniter/helpers/string_helper_test.php')
-rw-r--r-- | tests/codeigniter/helpers/string_helper_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/helpers/string_helper_test.php b/tests/codeigniter/helpers/string_helper_test.php index 6de336b01..4f15909ff 100644 --- a/tests/codeigniter/helpers/string_helper_test.php +++ b/tests/codeigniter/helpers/string_helper_test.php @@ -99,7 +99,7 @@ class String_helper_test extends CI_TestCase { { $this->assertEquals(16, strlen(random_string('alnum', 16))); $this->assertEquals(32, strlen(random_string('unique', 16))); - $this->assertInternalType('string', random_string('numeric', 16)); + $this->assertEquals('string', gettype(random_string('numeric', 16))); } // -------------------------------------------------------------------- |