"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/phpunit/includes/title/SubpageImportTitleFactoryTest.php" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

SubpageImportTitleFactoryTest.php  (mediawiki-1.31.1):SubpageImportTitleFactoryTest.php  (mediawiki-1.32.0)
skipping to change at line 32 skipping to change at line 32
/** /**
* @covers SubpageImportTitleFactory * @covers SubpageImportTitleFactory
* *
* @group Title * @group Title
*/ */
class SubpageImportTitleFactoryTest extends MediaWikiTestCase { class SubpageImportTitleFactoryTest extends MediaWikiTestCase {
protected function setUp() { protected function setUp() {
parent::setUp(); parent::setUp();
$this->setContentLang( 'en' );
$this->setMwGlobals( [ $this->setMwGlobals( [
'wgLanguageCode' => 'en',
'wgContLang' => Language::factory( 'en' ),
'wgNamespacesWithSubpages' => [ 0 => false, 2 => true ], 'wgNamespacesWithSubpages' => [ 0 => false, 2 => true ],
] ); ] );
} }
public function basicProvider() { public function basicProvider() {
return [ return [
[ [
new ForeignTitle( 0, '', 'MainNamespaceArticle' ) , new ForeignTitle( 0, '', 'MainNamespaceArticle' ) ,
Title::newFromText( 'User:Graham' ), Title::newFromText( 'User:Graham' ),
Title::newFromText( 'User:Graham/MainNamespaceArt icle' ) Title::newFromText( 'User:Graham/MainNamespaceArt icle' )
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)