mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
CommentFormatterTest: Fix PHP 8.1 deprecation warning
Change-Id: I1913eff29e884be4eb6177b9aa8e29fe297560c7
This commit is contained in:
parent
92432eaa06
commit
d8325ac9b8
|
@ -28,7 +28,7 @@ class CommentFormatterTest extends IntegrationTestCase {
|
||||||
|
|
||||||
$this->setupEnv( $config, $data );
|
$this->setupEnv( $config, $data );
|
||||||
$title = Title::newFromText( $title );
|
$title = Title::newFromText( $title );
|
||||||
MockCommentFormatter::$parser = TestUtils::createParser( $data );
|
MockCommentFormatter::$parser = static::createParser( $data );
|
||||||
|
|
||||||
$commentFormatter = TestingAccessWrapper::newFromClass( MockCommentFormatter::class );
|
$commentFormatter = TestingAccessWrapper::newFromClass( MockCommentFormatter::class );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue