Skip to content

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

Fix object storage tests

Chocobozzz9f672b01a4c5
diff --git a/packages/tests/src/api/object-storage/video-static-file-privacy.ts b/packages/tests/src/api/object-storage/video-static-file-privacy.ts
index 842e6a6f76..2d719b162e 100644
--- a/packages/tests/src/api/object-storage/video-static-file-privacy.ts
+++ b/packages/tests/src/api/object-storage/video-static-file-privacy.ts
@@ -54,9 +54,9 @@ describe('Object storage for video static file privacy', function () {
const { text } = await makeRawRequest({
url: internalFileUrl,
token: server.accessToken,
- expectedStatus: HttpStatusCode.BAD_REQUEST_400
+ expectedStatus: HttpStatusCode.FORBIDDEN_403
})
- expect(text).to.contain('Unsupported Authorization Type')
+ expect(text).to.contain('AccessDenied')
}
const hls = getHLS(video)