mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks
synced 2024-11-23 22:44:42 +00:00
Merge "Remove usage of writeapi userright"
This commit is contained in:
commit
e6e7a6305f
|
@ -98,13 +98,12 @@ class ApiCoreThankIntegrationTest extends ApiTestCase {
|
|||
$this->setGroupPermissions( [
|
||||
'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