From 9f672b01a4c5c0147246524abcf5d4ff7897bf46 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 13 Sep 2024 08:48:47 +0200 Subject: [PATCH] Fix object storage tests --- .../tests/src/api/object-storage/video-static-file-privacy.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 842e6a6f7..2d719b162 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)