wiki.techinc.nl/tests/phpunit/includes/specials/SpecialBlankPageTest.php
Daimona Eaytoy f5529400cc Stop using assertContains with string haystack
This was done automatically by replacing every assertContains with
string *needle*. Then verifying the results.

Bug: T192167
Change-Id: Id8cbbf3b01e948f80046714183cc299f86be21fd
2019-12-15 00:22:44 +00:00

30 lines
581 B
PHP

<?php
/**
* @license GPL-2.0-or-later
* @author Addshore
*
* @covers SpecialBlankpage
*/
class SpecialBlankPageTest extends SpecialPageTestBase {
protected function setUp() : void {
parent::setUp();
$this->setUserLang( 'qqx' );
}
/**
* 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->assertStringContainsString( '(intentionallyblankpage)', $html );
}
}