Set global config for test to avoid failure
authorThalia <thalia.e.chan@googlemail.com>
Sun, 14 Apr 2019 13:28:06 +0000 (14:28 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Sun, 14 Apr 2019 13:31:23 +0000 (14:31 +0100)
Change-Id: I4f883b0ecec5378e29625a8940a0c247967f3e71

tests/phpunit/includes/Permissions/PermissionManagerTest.php
tests/phpunit/includes/TitlePermissionTest.php

index 7f5ec40..a6c00dc 100644 (file)
@@ -993,6 +993,7 @@ class PermissionManagerTest extends MediaWikiLangTestCase {
                $this->setMwGlobals( [
                        'wgEmailConfirmToEdit' => true,
                        'wgEmailAuthentication' => true,
+                       'wgBlockDisablesLogin' => false,
                ] );
 
                $this->overrideMwServices();
index f7ffe8d..e5e265f 100644 (file)
@@ -891,6 +891,7 @@ class TitlePermissionTest extends MediaWikiLangTestCase {
                $this->setMwGlobals( [
                        'wgEmailConfirmToEdit' => true,
                        'wgEmailAuthentication' => true,
+                       'wgBlockDisablesLogin' => false,
                ] );
                $this->overrideMwServices();