mirror of https://github.com/Chocobozzz/PeerTube
Fix object storage tests
parent
520a6a652d
commit
9f672b01a4
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue