]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/check-params/video-blacklist.ts
Add runner server tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / check-params / video-blacklist.ts
index 4dc84d3f25e7e122d2f5dd3a3a67d8f9d60856be..8e9f615965758367ab2cfc614c7132fd4b99443a 100644 (file)
@@ -278,7 +278,7 @@ describe('Test video blacklist API validators', function () {
     })
 
     it('Should fail with an invalid type', async function () {
-      await servers[0].blacklist.list({ type: 0, expectedStatus: HttpStatusCode.BAD_REQUEST_400 })
+      await servers[0].blacklist.list({ type: 0 as any, expectedStatus: HttpStatusCode.BAD_REQUEST_400 })
     })
 
     it('Should succeed with the correct parameters', async function () {