mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-11 16:28:21 +00:00
Merge "Remove usage of writeapi userright"
This commit is contained in:
commit
cafb0c49e9
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue