Skip to content

Commit 4c73200

Browse files
committed
Fix test compat with MW 44
1 parent 1afab38 commit 4c73200

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/Util/TestFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace Maps\Tests\Util;
66

77
use MediaWiki\MediaWikiServices;
8+
use MediaWiki\Title\Title;
89
use User;
910

1011
/**
@@ -25,7 +26,7 @@ public function parse( string $textToParse ): string {
2526
return MediaWikiServices::getInstance()->getParser()
2627
->parse(
2728
$textToParse,
28-
\Title::newMainPage(),
29+
Title::newMainPage(),
2930
new \ParserOptions( User::newSystemUser( 'TestUser' ) )
3031
)->getText();
3132
}

0 commit comments

Comments
 (0)