Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add object storage test

Chocobozzz87699a09ce71
diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts
index 6e63921816..b64efe0d5c 100644
--- a/server/tests/api/object-storage/videos.ts
+++ b/server/tests/api/object-storage/videos.ts
@@ -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 () {
await servers[0].videos.remove({ id: uuidsToDelete[0] })
await servers[1].videos.remove({ id: uuidsToDelete[1] })