aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tests/api/live/live-constraints.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts
index 7af6af193..1c8d065f7 100644
--- a/server/tests/api/live/live-constraints.ts
+++ b/server/tests/api/live/live-constraints.ts
@@ -183,7 +183,7 @@ describe('Test live constraints', function () {
183 await wait(500) 183 await wait(500)
184 184
185 quotaUser = await servers[0].users.getMyQuotaUsed({ token: userAccessToken }) 185 quotaUser = await servers[0].users.getMyQuotaUsed({ token: userAccessToken })
186 } while (quotaUser.videoQuotaUsed < baseQuota.videoQuotaUsed) 186 } while (quotaUser.videoQuotaUsed <= baseQuota.videoQuotaUsed)
187 187
188 const { data } = await servers[0].users.list() 188 const { data } = await servers[0].users.list()
189 const quotaAdmin = data.find(u => u.username === 'user1') 189 const quotaAdmin = data.find(u => u.username === 'user1')