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/core/Security_test.php | |
parent | d9218efec1d89e9d633b73f367bcc7b676400621 (diff) |
Merge pull request #6074 from philsturgeon/ci3-php8
CodeIgniter 3.0 on PHP 8
Diffstat (limited to 'tests/codeigniter/core/Security_test.php')
-rw-r--r-- | tests/codeigniter/core/Security_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codeigniter/core/Security_test.php b/tests/codeigniter/core/Security_test.php index c3113adba..5f94e1501 100644 --- a/tests/codeigniter/core/Security_test.php +++ b/tests/codeigniter/core/Security_test.php @@ -252,7 +252,7 @@ class Security_test extends CI_TestCase { // Perform hash $this->security->xss_hash(); - $this->assertRegExp('#^[0-9a-f]{32}$#iS', $this->security->xss_hash); + $this->assertMatchesRegularExpression('#^[0-9a-f]{32}$#iS', $this->security->xss_hash); } // -------------------------------------------------------------------- |