Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix live quota tests

Chocobozzz57c318653e6a
diff --git a/server/tests/api/live/live-constraints.ts b/server/tests/api/live/live-constraints.ts
index 7af6af1933..1c8d065f79 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 () {
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')