summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
diff options
context:
space:
mode:
authorPhil Sturgeon <me@philsturgeon.com>2021-11-17 18:33:37 +0100
committerPhil Sturgeon <me@philsturgeon.com>2021-11-17 18:34:33 +0100
commit298b06e5d823370a49dd49661cc8cc08f9a51ead (patch)
treeea41060d3f5f4ae6972ca53470b7ad8c40bd5057 /tests/codeigniter
parent47c6b45f524f826e56aff8e77bf289bcbfa1b51d (diff)
chore: update to phpunit 9
Diffstat (limited to 'tests/codeigniter')
-rw-r--r--tests/codeigniter/core/Security_test.php2
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);
}
// --------------------------------------------------------------------