Use setGroupPermissions instead of mergeMwGlobalArrayValue

Change-Id: I8fd3b18f3d09cf9b4bc8de350896aaccbd0cb001
This commit is contained in:
Fomafix 2024-03-14 21:40:44 +00:00
parent 0bcfca3d90
commit 2d2840376f

View file

@ -94,7 +94,7 @@ class ApiCoreThankIntegrationTest extends ApiTestCase {
}
public function testLogThanksForADeletedLogEntry() {
$this->mergeMwGlobalArrayValue( 'wgGroupPermissions', [
$this->setGroupPermissions( [
'logdeleter' => [
'read' => true,
'writeapi' => true,