aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/live/live-views.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-08 10:25:50 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit04aed76711909507e74905bde3a7fa024d3585c9 (patch)
treeda93912bb9331feda40f597da3fea7dc24970d66 /server/tests/api/live/live-views.ts
parentd897210c2db1ca2acc1e7b28a13127647ab2222c (diff)
downloadPeerTube-04aed76711909507e74905bde3a7fa024d3585c9.tar.gz
PeerTube-04aed76711909507e74905bde3a7fa024d3585c9.tar.zst
PeerTube-04aed76711909507e74905bde3a7fa024d3585c9.zip
Shorter live methods
Diffstat (limited to 'server/tests/api/live/live-views.ts')
-rw-r--r--server/tests/api/live/live-views.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/live/live-views.ts b/server/tests/api/live/live-views.ts
index ae6af7cfd..75f95b167 100644
--- a/server/tests/api/live/live-views.ts
+++ b/server/tests/api/live/live-views.ts
@@ -71,7 +71,7 @@ describe('Test live', function () {
71 privacy: VideoPrivacy.PUBLIC 71 privacy: VideoPrivacy.PUBLIC
72 } 72 }
73 73
74 const live = await servers[0].liveCommand.createLive({ fields: liveAttributes }) 74 const live = await servers[0].liveCommand.create({ fields: liveAttributes })
75 liveVideoId = live.uuid 75 liveVideoId = live.uuid
76 76
77 command = await servers[0].liveCommand.sendRTMPStreamInVideo({ videoId: liveVideoId }) 77 command = await servers[0].liveCommand.sendRTMPStreamInVideo({ videoId: liveVideoId })