From f332d502d5d6a6c7ab62199c8b45f24e488f48e7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Jan 2022 08:45:05 +0100 Subject: Fix abuse test --- server/tests/api/moderation/abuses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/api/moderation') 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 () { }) 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' }) -- cgit v1.2.3