aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-27 11:41:38 +0100
committerChocobozzz <me@florianbigard.com>2020-11-27 11:41:38 +0100
commit353f8bc0c7a71ad490e4501b8c80e13e5cec1932 (patch)
treea3a6c637e2baf57597c733dbc166b1959754bf34 /server/tests/cli
parente2c1f7795752caf8cde19fdee8b9ab7fb16b0395 (diff)
downloadPeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.tar.gz
PeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.tar.zst
PeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.zip
Add registered setting CLI plugin install test
Diffstat (limited to 'server/tests/cli')
-rw-r--r--server/tests/cli/peertube.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/tests/cli/peertube.ts b/server/tests/cli/peertube.ts
index e2861f46e..348438533 100644
--- a/server/tests/cli/peertube.ts
+++ b/server/tests/cli/peertube.ts
@@ -19,6 +19,7 @@ import {
19 removeVideo, 19 removeVideo,
20 ServerInfo, 20 ServerInfo,
21 setAccessTokensToServers, 21 setAccessTokensToServers,
22 testHelloWorldRegisteredSettings,
22 uploadVideoAndGetId, 23 uploadVideoAndGetId,
23 userLogin, 24 userLogin,
24 waitJobs 25 waitJobs
@@ -205,6 +206,10 @@ describe('Test CLI wrapper', function () {
205 await execCLI(`${env} ${cmd} plugins install --npm-name peertube-plugin-hello-world`) 206 await execCLI(`${env} ${cmd} plugins install --npm-name peertube-plugin-hello-world`)
206 }) 207 })
207 208
209 it('Should have registered settings', async function () {
210 await testHelloWorldRegisteredSettings(server)
211 })
212
208 it('Should list installed plugins', async function () { 213 it('Should list installed plugins', async function () {
209 const env = getEnvCli(server) 214 const env = getEnvCli(server)
210 const res = await execCLI(`${env} ${cmd} plugins list`) 215 const res = await execCLI(`${env} ${cmd} plugins list`)