aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiParseTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/ApiParseTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiParseTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/ApiParseTest.php b/tests/phpunit/includes/api/ApiParseTest.php
index ae83005fd98d..ca4e092a716e 100644
--- a/tests/phpunit/includes/api/ApiParseTest.php
+++ b/tests/phpunit/includes/api/ApiParseTest.php
@@ -588,7 +588,7 @@ class ApiParseTest extends ApiTestCase {
$this->assertParsedToRegexp( $expected, $res );
}
- public function providerTestParsoid() {
+ public static function providerTestParsoid() {
// Legacy parses, with and without pre-existing content.
$expected = '!^<p><a href="[^"]*" title="Foo">Foo</a>\n</p>$!';
yield [ false, false, $expected ];