CommentFormatterTest: Fix PHP 8.1 deprecation warning

Change-Id: I1913eff29e884be4eb6177b9aa8e29fe297560c7
This commit is contained in:
Bartosz Dziewoński 2022-11-10 23:03:06 +01:00
parent 92432eaa06
commit d8325ac9b8

View file

@ -28,7 +28,7 @@ class CommentFormatterTest extends IntegrationTestCase {
$this->setupEnv( $config, $data );
$title = Title::newFromText( $title );
MockCommentFormatter::$parser = TestUtils::createParser( $data );
MockCommentFormatter::$parser = static::createParser( $data );
$commentFormatter = TestingAccessWrapper::newFromClass( MockCommentFormatter::class );