diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 10:33:49 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | ae2abfd3aed3e75d39a316b49b914d187faa7475 (patch) | |
tree | 4d5060dc310f3d8cdcd5829779522f49b3d10e71 /server/tests/cli/plugins.ts | |
parent | 9c6327f803aaf4200672f1fc40b2f43786daca47 (diff) | |
download | PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.gz PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.tar.zst PeerTube-ae2abfd3aed3e75d39a316b49b914d187faa7475.zip |
Introduce plugins command
Diffstat (limited to 'server/tests/cli/plugins.ts')
-rw-r--r-- | server/tests/cli/plugins.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/plugins.ts b/server/tests/cli/plugins.ts index efdc20748..7b8746a5d 100644 --- a/server/tests/cli/plugins.ts +++ b/server/tests/cli/plugins.ts | |||
@@ -6,8 +6,8 @@ import { | |||
6 | cleanupTests, | 6 | cleanupTests, |
7 | flushAndRunServer, | 7 | flushAndRunServer, |
8 | getConfig, | 8 | getConfig, |
9 | getPluginTestPath, | ||
10 | killallServers, | 9 | killallServers, |
10 | PluginsCommand, | ||
11 | reRunServer, | 11 | reRunServer, |
12 | ServerInfo, | 12 | ServerInfo, |
13 | setAccessTokensToServers | 13 | setAccessTokensToServers |
@@ -27,7 +27,7 @@ describe('Test plugin scripts', function () { | |||
27 | it('Should install a plugin from stateless CLI', async function () { | 27 | it('Should install a plugin from stateless CLI', async function () { |
28 | this.timeout(60000) | 28 | this.timeout(60000) |
29 | 29 | ||
30 | const packagePath = getPluginTestPath() | 30 | const packagePath = PluginsCommand.getPluginTestPath() |
31 | 31 | ||
32 | await server.cliCommand.execWithEnv(`npm run plugin:install -- --plugin-path ${packagePath}`) | 32 | await server.cliCommand.execWithEnv(`npm run plugin:install -- --plugin-path ${packagePath}`) |
33 | }) | 33 | }) |