1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 02:39:33 +02:00

Introduce plugins command

This commit is contained in:
Chocobozzz 2021-07-07 10:33:49 +02:00
parent 9c6327f803
commit ae2abfd3ae
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 480 additions and 765 deletions

View file

@ -11,8 +11,7 @@ import {
createUser,
createVideoPlaylist,
deleteVideoComment,
getPluginTestPath,
installPlugin,
PluginsCommand,
registerUser,
removeUser,
setAccessTokensToServers,
@ -49,11 +48,7 @@ describe('Test plugin action hooks', function () {
await setAccessTokensToServers(servers)
await setDefaultVideoChannel(servers)
await installPlugin({
url: servers[0].url,
accessToken: servers[0].accessToken,
path: getPluginTestPath()
})
await servers[0].pluginsCommand.install({ path: PluginsCommand.getPluginTestPath() })
killallServers([ servers[0] ])