diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-22 16:23:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-22 16:23:28 +0200 |
commit | 57c318653e6a8ae9d0c2541a62853fb8dd582d5d (patch) | |
tree | e3ab4d4a660bcb8455d2fda22e19d84d4a61f88a | |
parent | cb0eda5602a21d1626a7face32de6153ed07b5f9 (diff) | |
download | PeerTube-57c318653e6a8ae9d0c2541a62853fb8dd582d5d.tar.gz PeerTube-57c318653e6a8ae9d0c2541a62853fb8dd582d5d.tar.zst PeerTube-57c318653e6a8ae9d0c2541a62853fb8dd582d5d.zip |
Fix live quota tests
-rw-r--r-- | server/tests/api/live/live-constraints.ts | 2 |
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') |