mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-15 02:54:23 +00:00
Remove usage of writeapi userright
Bug: T294397 Depends-On: Ifad2edc782b36d21c8c67fecde7f011dce02c11b Change-Id: Ifd3359d003467c2ca0743d05f5f123894d4b5987
This commit is contained in:
parent
594cb74552
commit
76167abd5b
|
@ -97,13 +97,12 @@ class ApiCoreThankIntegrationTest extends ApiTestCase {
|
|||
$this->mergeMwGlobalArrayValue( 'wgGroupPermissions', [
|
||||
'logdeleter' => [
|
||||
'read' => true,
|
||||
'writeapi' => true,
|
||||
'deletelogentry' => true
|
||||
]
|
||||
] );
|
||||
|
||||
// Mark our test log entry as deleted.
|
||||
// To do this we briefly switch to a different test user.
|
||||
// To do this, we briefly switch to a different test user.
|
||||
$logdeleter = $this->getTestUser( [ 'logdeleter' ] )->getUser();
|
||||
$this->doApiRequestWithToken( [
|
||||
'action' => 'revisiondelete',
|
||||
|
|
Loading…
Reference in a new issue