diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:04:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 89d241a79c262b9775c233b73cff080043ebb5e6 (patch) | |
tree | cb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/plugins/plugin-unloading.ts | |
parent | d23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff) | |
download | PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip |
Shorter server command names
Diffstat (limited to 'server/tests/plugins/plugin-unloading.ts')
-rw-r--r-- | server/tests/plugins/plugin-unloading.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/plugins/plugin-unloading.ts b/server/tests/plugins/plugin-unloading.ts index f430f82b8..26a27abca 100644 --- a/server/tests/plugins/plugin-unloading.ts +++ b/server/tests/plugins/plugin-unloading.ts | |||
@@ -16,7 +16,7 @@ describe('Test plugins module unloading', function () { | |||
16 | server = await flushAndRunServer(1) | 16 | server = await flushAndRunServer(1) |
17 | await setAccessTokensToServers([ server ]) | 17 | await setAccessTokensToServers([ server ]) |
18 | 18 | ||
19 | await server.pluginsCommand.install({ path: PluginsCommand.getPluginTestPath('-unloading') }) | 19 | await server.plugins.install({ path: PluginsCommand.getPluginTestPath('-unloading') }) |
20 | }) | 20 | }) |
21 | 21 | ||
22 | it('Should return a numeric value', async function () { | 22 | it('Should return a numeric value', async function () { |
@@ -41,7 +41,7 @@ describe('Test plugins module unloading', function () { | |||
41 | }) | 41 | }) |
42 | 42 | ||
43 | it('Should uninstall the plugin and free the route', async function () { | 43 | it('Should uninstall the plugin and free the route', async function () { |
44 | await server.pluginsCommand.uninstall({ npmName: 'peertube-plugin-test-unloading' }) | 44 | await server.plugins.uninstall({ npmName: 'peertube-plugin-test-unloading' }) |
45 | 45 | ||
46 | await makeGetRequest({ | 46 | await makeGetRequest({ |
47 | url: server.url, | 47 | url: server.url, |
@@ -51,7 +51,7 @@ describe('Test plugins module unloading', function () { | |||
51 | }) | 51 | }) |
52 | 52 | ||
53 | it('Should return a different numeric value', async function () { | 53 | it('Should return a different numeric value', async function () { |
54 | await server.pluginsCommand.install({ path: PluginsCommand.getPluginTestPath('-unloading') }) | 54 | await server.plugins.install({ path: PluginsCommand.getPluginTestPath('-unloading') }) |
55 | 55 | ||
56 | const res = await makeGetRequest({ | 56 | const res = await makeGetRequest({ |
57 | url: server.url, | 57 | url: server.url, |