diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-27 11:41:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-27 11:41:38 +0100 |
commit | 353f8bc0c7a71ad490e4501b8c80e13e5cec1932 (patch) | |
tree | a3a6c637e2baf57597c733dbc166b1959754bf34 /server/tests/cli/peertube.ts | |
parent | e2c1f7795752caf8cde19fdee8b9ab7fb16b0395 (diff) | |
download | PeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.tar.gz PeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.tar.zst PeerTube-353f8bc0c7a71ad490e4501b8c80e13e5cec1932.zip |
Add registered setting CLI plugin install test
Diffstat (limited to 'server/tests/cli/peertube.ts')
-rw-r--r-- | server/tests/cli/peertube.ts | 5 |
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`) |