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 "rdbms: lower value of MAX_LAG_DEFAULT to 6"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
specials
/
SpecialBlockTest.php
diff --git
a/tests/phpunit/includes/specials/SpecialBlockTest.php
b/tests/phpunit/includes/specials/SpecialBlockTest.php
index
55a8b66
..
0643e0e
100644
(file)
--- a/
tests/phpunit/includes/specials/SpecialBlockTest.php
+++ b/
tests/phpunit/includes/specials/SpecialBlockTest.php
@@
-29,6
+29,7
@@
class SpecialBlockTest extends SpecialPageTestBase {
public function testGetFormFields() {
$this->setMwGlobals( [
'wgEnablePartialBlocks' => false,
public function testGetFormFields() {
$this->setMwGlobals( [
'wgEnablePartialBlocks' => false,
+ 'wgBlockAllowsUTEdit' => true,
] );
$page = $this->newSpecialPage();
$wrappedPage = TestingAccessWrapper::newFromObject( $page );
] );
$page = $this->newSpecialPage();
$wrappedPage = TestingAccessWrapper::newFromObject( $page );
@@
-71,6
+72,7
@@
class SpecialBlockTest extends SpecialPageTestBase {
public function testMaybeAlterFormDefaults() {
$this->setMwGlobals( [
'wgEnablePartialBlocks' => false,
public function testMaybeAlterFormDefaults() {
$this->setMwGlobals( [
'wgEnablePartialBlocks' => false,
+ 'wgBlockAllowsUTEdit' => true,
] );
$block = $this->insertBlock();
] );
$block = $this->insertBlock();