aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/multiple-servers.ts2
-rw-r--r--server/tests/api/videos/single-server.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts
index 0c6508e71..2a943fe45 100644
--- a/server/tests/api/videos/multiple-servers.ts
+++ b/server/tests/api/videos/multiple-servers.ts
@@ -822,7 +822,7 @@ describe('Test multiple servers', function () {
822 .field('nsfw', 'false') 822 .field('nsfw', 'false')
823 .field('channelId', '1') 823 .field('channelId', '1')
824 824
825 const filePath = join(__dirname, '..', 'api', 'fixtures', 'video_short.webm') 825 const filePath = join(__dirname, '..', '..', 'api', 'fixtures', 'video_short.webm')
826 826
827 await req.attach('videofile', filePath) 827 await req.attach('videofile', filePath)
828 .expect(200) 828 .expect(200)
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