I would like to argue this is best practice. This also currently blocks
https://gerrit.wikimedia.org/r/521480
Change-Id: I8477f8280038c383c35bebf559ba2b5841748821
*/
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 );
}
}