dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not insert page titles into querycache.qc_value
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
specials
/
SpecialBlankPageTest.php
diff --git
a/tests/phpunit/includes/specials/SpecialBlankPageTest.php
b/tests/phpunit/includes/specials/SpecialBlankPageTest.php
index
e0d059f
..
5435afa
100644
(file)
--- a/
tests/phpunit/includes/specials/SpecialBlankPageTest.php
+++ b/
tests/phpunit/includes/specials/SpecialBlankPageTest.php
@@
-1,13
+1,18
@@
<?php
/**
<?php
/**
- * @license G
NU GPL v2+
+ * @license G
PL-2.0-or-later
* @author Addshore
*
* @covers SpecialBlankpage
*/
class SpecialBlankPageTest extends SpecialPageTestBase {
* @author Addshore
*
* @covers SpecialBlankpage
*/
class SpecialBlankPageTest extends SpecialPageTestBase {
+ protected function setUp() {
+ parent::setUp();
+ $this->setUserLang( 'qqx' );
+ }
+
/**
* Returns a new instance of the special page under test.
*
/**
* Returns a new instance of the special page under test.
*
@@
-19,7
+24,7
@@
class SpecialBlankPageTest extends SpecialPageTestBase {
public function testHasWikiMsg() {
list( $html, ) = $this->executeSpecialPage();
public function testHasWikiMsg() {
list( $html, ) = $this->executeSpecialPage();
- $this->assertContains(
wfMessage( 'intentionallyblankpage' )->text()
, $html );
+ $this->assertContains(
'(intentionallyblankpage)'
, $html );
}
}
}
}