mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix CI tests
This commit is contained in:
parent
ca90b8f651
commit
11458a747c
2 changed files with 11 additions and 3 deletions
|
@ -50,7 +50,13 @@ describe('Object storage for video static file privacy', function () {
|
|||
for (const file of getAllFiles(video)) {
|
||||
const internalFileUrl = await sqlCommand.getInternalFileUrl(file.id)
|
||||
expectStartWith(internalFileUrl, ObjectStorageCommand.getScalewayBaseUrl())
|
||||
await makeRawRequest({ url: internalFileUrl, token: server.accessToken, expectedStatus: HttpStatusCode.FORBIDDEN_403 })
|
||||
|
||||
const { text } = await makeRawRequest({
|
||||
url: internalFileUrl,
|
||||
token: server.accessToken,
|
||||
expectedStatus: HttpStatusCode.BAD_REQUEST_400
|
||||
})
|
||||
expect(text).to.contain('Unsupported Authorization Type')
|
||||
}
|
||||
|
||||
const hls = getHLS(video)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue