Skip to content

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

Fix abuse test

Chocobozzzf332d502d5d6
diff --git a/server/tests/api/moderation/abuses.ts b/server/tests/api/moderation/abuses.ts
index 9eb84fdecf..0c3bed3e7e 100644
--- a/server/tests/api/moderation/abuses.ts
+++ b/server/tests/api/moderation/abuses.ts
@@ -468,7 +468,7 @@ describe('Test abuses', function () {
})
it('Should have 2 comment abuses on server 1 and 1 on server 2', async function () {
- const commentServer2 = await getComment(servers[0], servers[1].store.videoCreated.id)
+ const commentServer2 = await getComment(servers[0], servers[1].store.videoCreated.shortUUID)
{
const body = await commands[0].getAdminList({ filter: 'comment' })