Explorar o código

Make sharing test use correct user to setCollaboratorInfo

GitOrigin-RevId: 02b35facff478ccf269fb472eba271cbf8473d46
Andrew Rumble hai 1 ano
pai
achega
3cd9ded7c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/test/acceptance/src/SharingTests.mjs

+ 1 - 1
services/web/test/acceptance/src/SharingTests.mjs

@@ -77,7 +77,7 @@ describe('Sharing', function () {
 
     it('validates the privilege level', async function () {
       await expect(
-        this.collaboratorSession.setCollaboratorInfo(
+        this.ownerSession.setCollaboratorInfo(
           this.projectId,
           this.collaborator._id,
           { privilegeLevel: 'superpowers' }