Add object storage test

This commit is contained in:
Chocobozzz 2021-10-12 15:36:44 +02:00
parent f8ddccf239
commit 87699a09ce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 0 deletions

View File

@ -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] })