Skip to content

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

Fix test

Chocobozzz18327bdf51ff
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts
index 00a209665d..0aaa6e7c95 100644
--- a/server/tests/api/check-params/videos.ts
+++ b/server/tests/api/check-params/videos.ts
@@ -321,7 +321,7 @@ describe('Test videos API validator', function () {
token: server.accessToken,
fields,
attaches,
- statusCodeExpected: 204
+ statusCodeExpected: 200
})
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4')
@@ -331,7 +331,7 @@ describe('Test videos API validator', function () {
token: server.accessToken,
fields,
attaches,
- statusCodeExpected: 204
+ statusCodeExpected: 200
})
attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv')
@@ -341,7 +341,7 @@ describe('Test videos API validator', function () {
token: server.accessToken,
fields,
attaches,
- statusCodeExpected: 204
+ statusCodeExpected: 200
})
})
})