diff options
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, |