aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/AntiXSSTest.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
committerMario <mario@mariovavti.com>2024-05-27 06:17:05 +0000
commit84abf28ceca3632c22983f23326297c17b994224 (patch)
treefcc58ecd7ad3c9f9768c168d5a15f557545a52ad /tests/unit/AntiXSSTest.php
parenta10402a7883efd4886ad17c8133c10237f443181 (diff)
parentcad82d12d2aad1a54fa821061dd3dc1ffc732c5a (diff)
downloadvolse-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/AntiXSSTest.php')
-rw-r--r--tests/unit/AntiXSSTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/AntiXSSTest.php b/tests/unit/AntiXSSTest.php
index 1de9d54cd..642224f60 100644
--- a/tests/unit/AntiXSSTest.php
+++ b/tests/unit/AntiXSSTest.php
@@ -31,7 +31,7 @@ class AntiXSSTest extends TestCase {
$this->assertEquals($expected, escape_url($url));
}
- public function urlTestProvider() : array {
+ public static function urlTestProvider() : array {
return [
[
"https://example.com/settings/calendar/?f=&rpath=https://example.com/cdav/calendar'><script>alert('boom')</script>",