mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Add object storage test
This commit is contained in:
parent
f8ddccf239
commit
87699a09ce
1 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,12 @@ function runTestSuite (options: {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('Should fetch correctly all the files', async function () {
|
||||||
|
for (const url of deletedUrls.concat(keptUrls)) {
|
||||||
|
await makeRawRequest(url, HttpStatusCode.OK_200)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
it('Should correctly delete the files', async function () {
|
it('Should correctly delete the files', async function () {
|
||||||
await servers[0].videos.remove({ id: uuidsToDelete[0] })
|
await servers[0].videos.remove({ id: uuidsToDelete[0] })
|
||||||
await servers[1].videos.remove({ id: uuidsToDelete[1] })
|
await servers[1].videos.remove({ id: uuidsToDelete[1] })
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue