diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-28 17:25:10 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-28 17:25:10 +0100 |
commit | 59651eee5600839cdc62911a211d61457d8456b7 (patch) | |
tree | 4989d6a526b302bf82390fb9970f3066972474a0 /server/tests/api/videos/single-server.ts | |
parent | 5960f92395e81cc851d4536325bee72ba930de3f (diff) | |
download | PeerTube-59651eee5600839cdc62911a211d61457d8456b7.tar.gz PeerTube-59651eee5600839cdc62911a211d61457d8456b7.tar.zst PeerTube-59651eee5600839cdc62911a211d61457d8456b7.zip |
Fix videos tests
Diffstat (limited to 'server/tests/api/videos/single-server.ts')
-rw-r--r-- | server/tests/api/videos/single-server.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { | |||
337 | it('Should remove the video', async function () { | 337 | it('Should remove the video', async function () { |
338 | await removeVideo(server.url, server.accessToken, videoId) | 338 | await removeVideo(server.url, server.accessToken, videoId) |
339 | 339 | ||
340 | const files1 = await readdirPromise(join(__dirname, '..', '..', '..', 'test1/videos/')) | 340 | const files1 = await readdirPromise(join(__dirname, '..', '..', '..', '..', 'test1/videos/')) |
341 | expect(files1).to.have.lengthOf(0) | 341 | expect(files1).to.have.lengthOf(0) |
342 | 342 | ||
343 | const files2 = await readdirPromise(join(__dirname, '..', '..', '..', 'test1/thumbnails/')) | 343 | const files2 = await readdirPromise(join(__dirname, '..', '..', '..', '..', 'test1/thumbnails/')) |
344 | expect(files2).to.have.lengthOf(0) | 344 | expect(files2).to.have.lengthOf(0) |
345 | }) | 345 | }) |
346 | 346 | ||