diff options
Diffstat (limited to 'server/tests/cli/prune-storage.ts')
-rw-r--r-- | server/tests/cli/prune-storage.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts index b45049964..a4556312b 100644 --- a/server/tests/cli/prune-storage.ts +++ b/server/tests/cli/prune-storage.ts | |||
@@ -16,7 +16,6 @@ import { | |||
16 | ServerInfo, | 16 | ServerInfo, |
17 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
18 | setDefaultVideoChannel, | 18 | setDefaultVideoChannel, |
19 | uploadVideo, | ||
20 | wait, | 19 | wait, |
21 | waitJobs | 20 | waitJobs |
22 | } from '@shared/extra-utils' | 21 | } from '@shared/extra-utils' |
@@ -69,8 +68,8 @@ describe('Test prune storage scripts', function () { | |||
69 | await setDefaultVideoChannel(servers) | 68 | await setDefaultVideoChannel(servers) |
70 | 69 | ||
71 | for (const server of servers) { | 70 | for (const server of servers) { |
72 | await uploadVideo(server.url, server.accessToken, { name: 'video 1' }) | 71 | await server.videosCommand.upload({ attributes: { name: 'video 1' } }) |
73 | await uploadVideo(server.url, server.accessToken, { name: 'video 2' }) | 72 | await server.videosCommand.upload({ attributes: { name: 'video 2' } }) |
74 | 73 | ||
75 | await server.usersCommand.updateMyAvatar({ fixture: 'avatar.png' }) | 74 | await server.usersCommand.updateMyAvatar({ fixture: 'avatar.png' }) |
76 | 75 | ||