diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-27 06:17:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-05-27 06:17:05 +0000 |
commit | cad82d12d2aad1a54fa821061dd3dc1ffc732c5a (patch) | |
tree | fcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/includes/TextTest.php | |
parent | a10402a7883efd4886ad17c8133c10237f443181 (diff) | |
download | volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.gz volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.tar.bz2 volse-hubzilla-cad82d12d2aad1a54fa821061dd3dc1ffc732c5a.zip |
Upgrade test framework to PHPUnit 10.5
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]>'], |