Debian Codegraph @

tests/phpunit/includes/specials/SpecialBlankPageTest.php

raw symbols SCIP
1 <?php
2
3 use MediaWiki\SpecialPage\SpecialPage;
4 use MediaWiki\Specials\SpecialBlankpage;
5
6 /**
7 * @license GPL-2.0-or-later
8 * @author Addshore
9 *
10 * @covers \MediaWiki\Specials\SpecialBlankpage
11 */
12 class SpecialBlankPageTest extends SpecialPageTestBase {
13
14 protected function setUp(): void {
15 parent::setUp();
16 $this->setUserLang( 'qqx' );
17 }
18
19 /**
20 * Returns a new instance of the special page under test.
21 *
22 * @return SpecialPage
23 */
24 protected function newSpecialPage() {
25 return new SpecialBlankpage();
26 }
27
28 public function testHasWikiMsg() {
29 [ $html, ] = $this->executeSpecialPage();
30 $this->assertStringContainsString( '(intentionallyblankpage)', $html );
31 }
32
33 }