diff options
author | Andrey Andreev <narf@devilix.net> | 2021-12-20 14:47:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 14:47:39 +0100 |
commit | efc96b71e4b1d13d713d8b2be01796b7d30e6f9b (patch) | |
tree | 68a44223c3c9664fbb3bea58c59cde5e3343018d /tests/codeigniter/core/Security_test.php | |
parent | 16ab872de21dcf938d9c6243d732b0206c8efa7f (diff) | |
parent | e7110e559a0c46d5001368c25ed246ff303d3afe (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 64efdf9c8..e6a980e7a 100644 --- a/tests/codeigniter/core/Security_test.php +++ b/tests/codeigniter/core/Security_test.php @@ -253,7 +253,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); } // -------------------------------------------------------------------- |