aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/services.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/services.ts')
-rw-r--r--server/tests/api/videos/services.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/tests/api/videos/services.ts b/server/tests/api/videos/services.ts
index 1cda464d9..b3167aebc 100644
--- a/server/tests/api/videos/services.ts
+++ b/server/tests/api/videos/services.ts
@@ -30,10 +30,8 @@ describe('Test services', function () {
30 const videoAttributes = { 30 const videoAttributes = {
31 name: 'my super name' 31 name: 'my super name'
32 } 32 }
33 await uploadVideo(server.url, server.accessToken, videoAttributes) 33 const res = await uploadVideo(server.url, server.accessToken, videoAttributes)
34 34 server.video = res.body.video
35 const res = await getVideosList(server.url)
36 server.video = res.body.data[0]
37 }) 35 })
38 36
39 it('Should have a valid oEmbed response', async function () { 37 it('Should have a valid oEmbed response', async function () {