From: Thalia Date: Sun, 14 Apr 2019 13:28:06 +0000 (+0100) Subject: Set global config for test to avoid failure X-Git-Tag: 1.34.0-rc.0~1963^2 X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=commitdiff_plain;h=2f426f06f1b99738851e694c232c84bfaa1c9378;p=lhc%2Fweb%2Fwiklou.git Set global config for test to avoid failure Change-Id: I4f883b0ecec5378e29625a8940a0c247967f3e71 --- diff --git a/tests/phpunit/includes/Permissions/PermissionManagerTest.php b/tests/phpunit/includes/Permissions/PermissionManagerTest.php index 7f5ec40eb2..a6c00dc3dc 100644 --- a/tests/phpunit/includes/Permissions/PermissionManagerTest.php +++ b/tests/phpunit/includes/Permissions/PermissionManagerTest.php @@ -993,6 +993,7 @@ class PermissionManagerTest extends MediaWikiLangTestCase { $this->setMwGlobals( [ 'wgEmailConfirmToEdit' => true, 'wgEmailAuthentication' => true, + 'wgBlockDisablesLogin' => false, ] ); $this->overrideMwServices(); diff --git a/tests/phpunit/includes/TitlePermissionTest.php b/tests/phpunit/includes/TitlePermissionTest.php index f7ffe8d434..e5e265f056 100644 --- a/tests/phpunit/includes/TitlePermissionTest.php +++ b/tests/phpunit/includes/TitlePermissionTest.php @@ -891,6 +891,7 @@ class TitlePermissionTest extends MediaWikiLangTestCase { $this->setMwGlobals( [ 'wgEmailConfirmToEdit' => true, 'wgEmailAuthentication' => true, + 'wgBlockDisablesLogin' => false, ] ); $this->overrideMwServices();