2015-07-06 10:49:58 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
2018-05-23 23:23:42 +00:00
|
|
|
* @license GPL-2.0-or-later
|
2016-01-27 09:59:31 +00:00
|
|
|
* @author Addshore
|
2015-07-06 10:49:58 +00:00
|
|
|
*
|
|
|
|
|
* @covers SpecialBlankpage
|
|
|
|
|
*/
|
|
|
|
|
class SpecialBlankPageTest extends SpecialPageTestBase {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Returns a new instance of the special page under test.
|
|
|
|
|
*
|
|
|
|
|
* @return SpecialPage
|
|
|
|
|
*/
|
|
|
|
|
protected function newSpecialPage() {
|
|
|
|
|
return new SpecialBlankpage();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function testHasWikiMsg() {
|
|
|
|
|
list( $html, ) = $this->executeSpecialPage();
|
|
|
|
|
$this->assertContains( wfMessage( 'intentionallyblankpage' )->text(), $html );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|