Merge "Remove usage of writeapi userright"

This commit is contained in:
jenkins-bot 2024-08-01 21:06:48 +00:00 committed by Gerrit Code Review
commit cafb0c49e9

View file

@ -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 );