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:
parent
9c6327f803
commit
ae2abfd3ae
26 changed files with 480 additions and 765 deletions
|
@ -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] ])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue