Merge "Drop cache interwiki"
[mediawiki.git] / tests / phpunit / includes / specials / SpecialBlankPageTest.php
blobd71a604a537bde1f6ec2e9a04192d15520ebcd0e
1 <?php
3 use MediaWiki\SpecialPage\SpecialPage;
4 use MediaWiki\Specials\SpecialBlankpage;
6 /**
7 * @license GPL-2.0-or-later
8 * @author Addshore
10 * @covers \MediaWiki\Specials\SpecialBlankpage
12 class SpecialBlankPageTest extends SpecialPageTestBase {
14 protected function setUp(): void {
15 parent::setUp();
16 $this->setUserLang( 'qqx' );
19 /**
20 * Returns a new instance of the special page under test.
22 * @return SpecialPage
24 protected function newSpecialPage() {
25 return new SpecialBlankpage();
28 public function testHasWikiMsg() {
29 [ $html, ] = $this->executeSpecialPage();
30 $this->assertStringContainsString( '(intentionallyblankpage)', $html );