]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix abuse test
authorChocobozzz <me@florianbigard.com>
Fri, 7 Jan 2022 07:45:05 +0000 (08:45 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 7 Jan 2022 07:45:05 +0000 (08:45 +0100)
server/tests/api/moderation/abuses.ts

index 9eb84fdecf1a588b901ff36ab8b7132d84b63b05..0c3bed3e7e01dc472f9cccb1f255f2960b67a929 100644 (file)
@@ -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' })