diff options
author | Mario <mario@mariovavti.com> | 2024-05-27 06:17:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-05-27 06:17:05 +0000 |
commit | 84abf28ceca3632c22983f23326297c17b994224 (patch) | |
tree | fcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/includes/TextTest.php | |
parent | a10402a7883efd4886ad17c8133c10237f443181 (diff) | |
parent | cad82d12d2aad1a54fa821061dd3dc1ffc732c5a (diff) | |
download | volse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.tar.gz volse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.tar.bz2 volse-hubzilla-84abf28ceca3632c22983f23326297c17b994224.zip |
Merge branch 'update-phpunit-10x' into 'dev'
Upgrade test framework to PHPUnit 10.5
See merge request hubzilla/core!2128
Diffstat (limited to 'tests/unit/includes/TextTest.php')
-rw-r--r-- | tests/unit/includes/TextTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/includes/TextTest.php b/tests/unit/includes/TextTest.php index b76b15dcf..1e80d71d8 100644 --- a/tests/unit/includes/TextTest.php +++ b/tests/unit/includes/TextTest.php @@ -85,7 +85,7 @@ empty line above'; public function testNotags($string, $expected) { $this->assertEquals($expected, notags($string)); } - public function notagsProvider() { + public static function notagsProvider() { return [ 'empty string' => ['', ''], 'simple tag' => ['<value>', '[value]'], @@ -102,7 +102,7 @@ empty line above'; sanitise_acl($string); $this->assertEquals($expected, $string); } - public function sanitise_aclProvider() { + public static function sanitise_aclProvider() { return [ 'text' => ['value', '<value>'], 'text with angle bracket' => ['<value>', '<[value]>'], |