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
Merge "objectcache: optimize WAN cache key updates during HOLDOFF_TTL"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
block
/
BlockRestrictionTest.php
diff --git
a/tests/phpunit/includes/block/BlockRestrictionTest.php
b/tests/phpunit/includes/block/BlockRestrictionTest.php
index
2d78018
..
5bbd3d0
100644
(file)
--- a/
tests/phpunit/includes/block/BlockRestrictionTest.php
+++ b/
tests/phpunit/includes/block/BlockRestrictionTest.php
@@
-25,6
+25,9
@@
class BlockRestrictionTest extends \MediaWikiLangTestCase {
* @covers ::rowToRestriction
*/
public function testLoadMultipleRestrictions() {
+ $this->setMwGlobals( [
+ 'wgBlockDisablesLogin' => false,
+ ] );
$block = $this->insertBlock();
$pageFoo = $this->getExistingTestPage( 'Foo' );