Add registered setting CLI plugin install test

This commit is contained in:
Chocobozzz
2020-11-27 11:41:38 +01:00
parent e2c1f77957
commit 353f8bc0c7
3 changed files with 27 additions and 14 deletions

View File

@@ -19,6 +19,7 @@ import {
removeVideo,
ServerInfo,
setAccessTokensToServers,
testHelloWorldRegisteredSettings,
uploadVideoAndGetId,
userLogin,
waitJobs
@@ -205,6 +206,10 @@ describe('Test CLI wrapper', function () {
await execCLI(`${env} ${cmd} plugins install --npm-name peertube-plugin-hello-world`)
})
it('Should have registered settings', async function () {
await testHelloWorldRegisteredSettings(server)
})
it('Should list installed plugins', async function () {
const env = getEnvCli(server)
const res = await execCLI(`${env} ${cmd} plugins list`)