diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-08 10:18:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 4f2199144e428c16460750305f737b890c1ac322 (patch) | |
tree | a19c5c0f254ab0b32d6c8838af33a1ba260e4877 /server/tests/plugins/action-hooks.ts | |
parent | 2c27e70471120c92e0bc8c8114141fbb31ff98ac (diff) | |
download | PeerTube-4f2199144e428c16460750305f737b890c1ac322.tar.gz PeerTube-4f2199144e428c16460750305f737b890c1ac322.tar.zst PeerTube-4f2199144e428c16460750305f737b890c1ac322.zip |
Introduce live command
Diffstat (limited to 'server/tests/plugins/action-hooks.ts')
-rw-r--r-- | server/tests/plugins/action-hooks.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/plugins/action-hooks.ts b/server/tests/plugins/action-hooks.ts index 0de5b523b..39266c62f 100644 --- a/server/tests/plugins/action-hooks.ts +++ b/server/tests/plugins/action-hooks.ts | |||
@@ -7,7 +7,6 @@ import { | |||
7 | addVideoCommentThread, | 7 | addVideoCommentThread, |
8 | addVideoInPlaylist, | 8 | addVideoInPlaylist, |
9 | blockUser, | 9 | blockUser, |
10 | createLive, | ||
11 | createUser, | 10 | createUser, |
12 | createVideoPlaylist, | 11 | createVideoPlaylist, |
13 | deleteVideoComment, | 12 | deleteVideoComment, |
@@ -96,7 +95,7 @@ describe('Test plugin action hooks', function () { | |||
96 | channelId: servers[0].videoChannel.id | 95 | channelId: servers[0].videoChannel.id |
97 | } | 96 | } |
98 | 97 | ||
99 | await createLive(servers[0].url, servers[0].accessToken, attributes) | 98 | await servers[0].liveCommand.createLive({ fields: attributes }) |
100 | 99 | ||
101 | await checkHook('action:api.live-video.created') | 100 | await checkHook('action:api.live-video.created') |
102 | }) | 101 | }) |