aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/plugins/action-hooks.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/plugins/action-hooks.ts')
-rw-r--r--server/tests/plugins/action-hooks.ts3
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 })