Set BlockDisablesLogin false for Blocking group tests that assume this
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialBlockTest.php
index a17f39d..0b3adc0 100644 (file)
@@ -401,6 +401,9 @@ class SpecialBlockTest extends SpecialPageTestBase {
                $expectedResult,
                $reason
        ) {
+               $this->setMwGlobals( [
+                       'wgBlockDisablesLogin' => false,
+               ] );
                $this->setGroupPermissions( 'sysop', 'unblockself', true );
                $this->setGroupPermissions( 'user', 'block', true );
                // Getting errors about creating users in db in provider.