Fix object storage tests

pull/6610/head
Chocobozzz 2024-09-13 08:48:47 +02:00
parent 520a6a652d
commit 9f672b01a4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ describe('Object storage for video static file privacy', function () {
const { text } = await makeRawRequest({ const { text } = await makeRawRequest({
url: internalFileUrl, url: internalFileUrl,
token: server.accessToken, 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) const hls = getHLS(video)