wiki.techinc.nl/tests/phpunit/includes/specials/SpecialBlankPageTest.php
Kunal Mehta e0193327bd Fix MediaWiki.Commenting.LicenseComment.InvalidLicenseTag errors
Change-Id: I936c3f5fca1a0061f215e80469f5d882cb32ee29
2018-05-23 16:23:42 -07:00

25 lines
497 B
PHP

<?php
/**
* @license GPL-2.0-or-later
* @author Addshore
*
* @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 );
}
}