Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git] / tests / phpunit / includes / specials / SpecialBlankPageTest.php
blob1d4f5e51f0604893dd1f663b6ada418f3b32824d
1 <?php
3 /**
4 * @licence GNU GPL v2+
5 * @author Adam Shorland
7 * @covers SpecialBlankpage
8 */
9 class SpecialBlankPageTest extends SpecialPageTestBase {
11 /**
12 * Returns a new instance of the special page under test.
14 * @return SpecialPage
16 protected function newSpecialPage() {
17 return new SpecialBlankpage();
20 public function testHasWikiMsg() {
21 list( $html, ) = $this->executeSpecialPage();
22 $this->assertContains( wfMessage( 'intentionallyblankpage' )->text(), $html );