Merge "StringUtils: Add a utility for checking if a string is a valid regex"
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialBlankPageTest.php
1 <?php
2
3 /**
4 * @license GPL-2.0-or-later
5 * @author Addshore
6 *
7 * @covers SpecialBlankpage
8 */
9 class SpecialBlankPageTest extends SpecialPageTestBase {
10
11 protected function setUp() {
12 parent::setUp();
13 $this->setUserLang( 'qqx' );
14 }
15
16 /**
17 * Returns a new instance of the special page under test.
18 *
19 * @return SpecialPage
20 */
21 protected function newSpecialPage() {
22 return new SpecialBlankpage();
23 }
24
25 public function testHasWikiMsg() {
26 list( $html, ) = $this->executeSpecialPage();
27 $this->assertContains( '(intentionallyblankpage)', $html );
28 }
29
30 }