diff --git a/tests/phpunit/integration/Api/UnblockAutopromoteTest.php b/tests/phpunit/integration/Api/UnblockAutopromoteTest.php index 8b043f090..d1b4f6d1f 100644 --- a/tests/phpunit/integration/Api/UnblockAutopromoteTest.php +++ b/tests/phpunit/integration/Api/UnblockAutopromoteTest.php @@ -54,7 +54,7 @@ class UnblockAutopromoteTest extends ApiTestCase { $blockedUser = $this->mockUserAuthorityWithBlock( new UserIdentityValue( 42, 'Blocked user' ), $block, - [ 'writeapi', 'abusefilter-modify' ] + [ 'abusefilter-modify' ] ); $store = $this->createMock( BlockAutopromoteStore::class );