Merge "Remove usage of writeapi userright"

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

View file

@ -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',