aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/moderation/abuses.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-07 08:45:05 +0100
committerChocobozzz <me@florianbigard.com>2022-01-07 08:45:05 +0100
commitf332d502d5d6a6c7ab62199c8b45f24e488f48e7 (patch)
tree271bc728a6383961faad6fcf51718c6c1356f84f /server/tests/api/moderation/abuses.ts
parentcbe2f36d93c779ca08424336be7e3988e57be01d (diff)
downloadPeerTube-f332d502d5d6a6c7ab62199c8b45f24e488f48e7.tar.gz
PeerTube-f332d502d5d6a6c7ab62199c8b45f24e488f48e7.tar.zst
PeerTube-f332d502d5d6a6c7ab62199c8b45f24e488f48e7.zip
Fix abuse test
Diffstat (limited to 'server/tests/api/moderation/abuses.ts')
-rw-r--r--server/tests/api/moderation/abuses.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/moderation/abuses.ts b/server/tests/api/moderation/abuses.ts
index 9eb84fdec..0c3bed3e7 100644
--- a/server/tests/api/moderation/abuses.ts
+++ b/server/tests/api/moderation/abuses.ts
@@ -468,7 +468,7 @@ describe('Test abuses', function () {
468 }) 468 })
469 469
470 it('Should have 2 comment abuses on server 1 and 1 on server 2', async function () { 470 it('Should have 2 comment abuses on server 1 and 1 on server 2', async function () {
471 const commentServer2 = await getComment(servers[0], servers[1].store.videoCreated.id) 471 const commentServer2 = await getComment(servers[0], servers[1].store.videoCreated.shortUUID)
472 472
473 { 473 {
474 const body = await commands[0].getAdminList({ filter: 'comment' }) 474 const body = await commands[0].getAdminList({ filter: 'comment' })