1
0
Fork 0

Fix live quota tests

This commit is contained in:
Chocobozzz 2023-05-22 16:23:28 +02:00
parent cb0eda5602
commit 57c318653e
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -183,7 +183,7 @@ describe('Test live constraints', function () {
await wait(500)
quotaUser = await servers[0].users.getMyQuotaUsed({ token: userAccessToken })
} while (quotaUser.videoQuotaUsed < baseQuota.videoQuotaUsed)
} while (quotaUser.videoQuotaUsed <= baseQuota.videoQuotaUsed)
const { data } = await servers[0].users.list()
const quotaAdmin = data.find(u => u.username === 'user1')