aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/moderation/blocklist.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/moderation/blocklist.ts')
-rw-r--r--server/tests/api/moderation/blocklist.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/moderation/blocklist.ts b/server/tests/api/moderation/blocklist.ts
index b767d38c7..793abbcb4 100644
--- a/server/tests/api/moderation/blocklist.ts
+++ b/server/tests/api/moderation/blocklist.ts
@@ -215,7 +215,7 @@ describe('Test blocklist', function () {
215 215
216 const threads: VideoComment[] = resThreads.body.data 216 const threads: VideoComment[] = resThreads.body.data
217 expect(threads).to.have.lengthOf(1) 217 expect(threads).to.have.lengthOf(1)
218 expect(threads[0].totalReplies).to.equal(0) 218 expect(threads[0].totalReplies).to.equal(1)
219 219
220 const t = threads.find(t => t.text === 'comment user 1') 220 const t = threads.find(t => t.text === 'comment user 1')
221 expect(t).to.be.undefined 221 expect(t).to.be.undefined
@@ -565,7 +565,7 @@ describe('Test blocklist', function () {
565 threads = threads.filter(t => t.isDeleted === false) 565 threads = threads.filter(t => t.isDeleted === false)
566 566
567 expect(threads).to.have.lengthOf(1) 567 expect(threads).to.have.lengthOf(1)
568 expect(threads[0].totalReplies).to.equal(0) 568 expect(threads[0].totalReplies).to.equal(1)
569 569
570 const t = threads.find(t => t.text === 'comment user 1') 570 const t = threads.find(t => t.text === 'comment user 1')
571 expect(t).to.be.undefined 571 expect(t).to.be.undefined