aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/fixtures
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-06-28 09:22:15 +0200
committerGitHub <noreply@github.com>2021-06-28 09:22:15 +0200
commite2e0b645cdac3c705b1988fbb0eff723ad5e885d (patch)
tree0e8d7d5d7bfbd5815f89e1444b693d5a7662a6a7 /server/tests/fixtures
parent3e84ae325088320c49dd07de2d3a0d020151002e (diff)
downloadPeerTube-e2e0b645cdac3c705b1988fbb0eff723ad5e885d.tar.gz
PeerTube-e2e0b645cdac3c705b1988fbb0eff723ad5e885d.tar.zst
PeerTube-e2e0b645cdac3c705b1988fbb0eff723ad5e885d.zip
Add video-playlist-element.created hook (#4196)
* add playlists.videos.list.params/results hooks closes #4192 * Revert "add playlists.videos.list.params/results hooks" This reverts commit ebd822ca0b769d88dbc5ae0062b286238cbced92. * add video-playlist-element.created hook closes #4192 * test: add playlist-element.created * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'server/tests/fixtures')
-rw-r--r--server/tests/fixtures/peertube-plugin-test/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/tests/fixtures/peertube-plugin-test/main.js b/server/tests/fixtures/peertube-plugin-test/main.js
index 5e922ad1f..f8e6f0b98 100644
--- a/server/tests/fixtures/peertube-plugin-test/main.js
+++ b/server/tests/fixtures/peertube-plugin-test/main.js
@@ -19,7 +19,9 @@ async function register ({ registerHook, registerSetting, settingsManager, stora
19 'action:api.user.created', 19 'action:api.user.created',
20 'action:api.user.deleted', 20 'action:api.user.deleted',
21 'action:api.user.updated', 21 'action:api.user.updated',
22 'action:api.user.oauth2-got-token' 22 'action:api.user.oauth2-got-token',
23
24 'action:api.video-playlist-element.created'
23 ] 25 ]
24 26
25 for (const h of actionHooks) { 27 for (const h of actionHooks) {