From 59651eee5600839cdc62911a211d61457d8456b7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 17:25:10 +0100 Subject: Fix videos tests --- server/tests/api/videos/single-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests/api/videos/single-server.ts') diff --git a/server/tests/api/videos/single-server.ts b/server/tests/api/videos/single-server.ts index 02723654d..c503ec0e7 100644 --- a/server/tests/api/videos/single-server.ts +++ b/server/tests/api/videos/single-server.ts @@ -337,10 +337,10 @@ describe('Test a single server', function () { it('Should remove the video', async function () { await removeVideo(server.url, server.accessToken, videoId) - const files1 = await readdirPromise(join(__dirname, '..', '..', '..', 'test1/videos/')) + const files1 = await readdirPromise(join(__dirname, '..', '..', '..', '..', 'test1/videos/')) expect(files1).to.have.lengthOf(0) - const files2 = await readdirPromise(join(__dirname, '..', '..', '..', 'test1/thumbnails/')) + const files2 = await readdirPromise(join(__dirname, '..', '..', '..', '..', 'test1/thumbnails/')) expect(files2).to.have.lengthOf(0) }) -- cgit v1.2.3