There was an error while loading. Please reload this page.
1 parent 1afab38 commit 4c73200Copy full SHA for 4c73200
1 file changed
tests/Util/TestFactory.php
@@ -5,6 +5,7 @@
5
namespace Maps\Tests\Util;
6
7
use MediaWiki\MediaWikiServices;
8
+use MediaWiki\Title\Title;
9
use User;
10
11
/**
@@ -25,7 +26,7 @@ public function parse( string $textToParse ): string {
25
26
return MediaWikiServices::getInstance()->getParser()
27
->parse(
28
$textToParse,
- \Title::newMainPage(),
29
+ Title::newMainPage(),
30
new \ParserOptions( User::newSystemUser( 'TestUser' ) )
31
)->getText();
32
}
0 commit comments