diff options
Diffstat (limited to 'server/tests/plugins/action-hooks.ts')
-rw-r--r-- | server/tests/plugins/action-hooks.ts | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/server/tests/plugins/action-hooks.ts b/server/tests/plugins/action-hooks.ts index 0f57ef7fe..0de5b523b 100644 --- a/server/tests/plugins/action-hooks.ts +++ b/server/tests/plugins/action-hooks.ts | |||
@@ -11,8 +11,7 @@ import { | |||
11 | createUser, | 11 | createUser, |
12 | createVideoPlaylist, | 12 | createVideoPlaylist, |
13 | deleteVideoComment, | 13 | deleteVideoComment, |
14 | getPluginTestPath, | 14 | PluginsCommand, |
15 | installPlugin, | ||
16 | registerUser, | 15 | registerUser, |
17 | removeUser, | 16 | removeUser, |
18 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
@@ -49,11 +48,7 @@ describe('Test plugin action hooks', function () { | |||
49 | await setAccessTokensToServers(servers) | 48 | await setAccessTokensToServers(servers) |
50 | await setDefaultVideoChannel(servers) | 49 | await setDefaultVideoChannel(servers) |
51 | 50 | ||
52 | await installPlugin({ | 51 | await servers[0].pluginsCommand.install({ path: PluginsCommand.getPluginTestPath() }) |
53 | url: servers[0].url, | ||
54 | accessToken: servers[0].accessToken, | ||
55 | path: getPluginTestPath() | ||
56 | }) | ||
57 | 52 | ||
58 | killallServers([ servers[0] ]) | 53 | killallServers([ servers[0] ]) |
59 | 54 | ||