<?php
/**
- * @license GNU GPL v2+
+ * @license GPL-2.0-or-later
* @author Addshore
*
* @covers SpecialBlankpage
*/
class SpecialBlankPageTest extends SpecialPageTestBase {
+ protected function setUp() {
+ parent::setUp();
+ $this->setUserLang( 'qqx' );
+ }
+
/**
* Returns a new instance of the special page under test.
*
public function testHasWikiMsg() {
list( $html, ) = $this->executeSpecialPage();
- $this->assertContains( wfMessage( 'intentionallyblankpage' )->text(), $html );
+ $this->assertContains( '(intentionallyblankpage)', $html );
}
}