diff --git a/tests/phpunit/ApiCoreThankIntegrationTest.php b/tests/phpunit/ApiCoreThankIntegrationTest.php index 13f4c56f..f6c8f897 100644 --- a/tests/phpunit/ApiCoreThankIntegrationTest.php +++ b/tests/phpunit/ApiCoreThankIntegrationTest.php @@ -94,7 +94,7 @@ class ApiCoreThankIntegrationTest extends ApiTestCase { } public function testLogThanksForADeletedLogEntry() { - $this->mergeMwGlobalArrayValue( 'wgGroupPermissions', [ + $this->setGroupPermissions( [ 'logdeleter' => [ 'read' => true, 'writeapi' => true,