Fix live quota tests
This commit is contained in:
parent
cb0eda5602
commit
57c318653e
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ describe('Test live constraints', function () {
|
||||||
await wait(500)
|
await wait(500)
|
||||||
|
|
||||||
quotaUser = await servers[0].users.getMyQuotaUsed({ token: userAccessToken })
|
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 { data } = await servers[0].users.list()
|
||||||
const quotaAdmin = data.find(u => u.username === 'user1')
|
const quotaAdmin = data.find(u => u.username === 'user1')
|
||||||
|
|
Loading…
Reference in a new issue