aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/services.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-29 10:04:15 +0100
committerChocobozzz <me@florianbigard.com>2017-12-29 10:04:15 +0100
commita7ba16b62d18a53c416d248f4be06fb693b318ac (patch)
treed665a7a5afc69b780f663b314c4d466ba19778f0 /server/tests/api/videos/services.ts
parentefed5d5ef61cd14ee3f9ed1dda8ea8e937370405 (diff)
downloadPeerTube-a7ba16b62d18a53c416d248f4be06fb693b318ac.tar.gz
PeerTube-a7ba16b62d18a53c416d248f4be06fb693b318ac.tar.zst
PeerTube-a7ba16b62d18a53c416d248f4be06fb693b318ac.zip
Fix real world script
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 () {