Sfoglia il codice sorgente

Merge pull request #23099 from overleaf/jpa-fix-sessions-test

[web] add missing await in acceptance test

GitOrigin-RevId: d18d62c55609c46c5b8a583e572a415b55a81af7
Jakob Ackermann 1 anno fa
parent
commit
5c3353b3de
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      services/web/test/acceptance/src/SessionTests.mjs

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

@@ -536,7 +536,7 @@ describe('Sessions', function () {
       await tryWithValidationToken(await getOtherUsersValidationToken())
     })
     it('should ignore overwrites in app code', async function () {
-      const otherUsersValidationToken = getOtherUsersValidationToken()
+      const otherUsersValidationToken = await getOtherUsersValidationToken()
 
       const user = new User()
       await user.login()