diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-10 13:57:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-10 13:57:06 +0200 |
commit | 644391bee644c9078695ab042743d108870de7ef (patch) | |
tree | 5adb7f38a9f5c1f14a6a555982f1f8d4616168ba /server/tests/api/videos/video-channel-syncs.ts | |
parent | 7590f7a8684c69c38d30dab68377720da16d2420 (diff) | |
download | PeerTube-644391bee644c9078695ab042743d108870de7ef.tar.gz PeerTube-644391bee644c9078695ab042743d108870de7ef.tar.zst PeerTube-644391bee644c9078695ab042743d108870de7ef.zip |
Fix test cleanup
Diffstat (limited to 'server/tests/api/videos/video-channel-syncs.ts')
-rw-r--r-- | server/tests/api/videos/video-channel-syncs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-channel-syncs.ts b/server/tests/api/videos/video-channel-syncs.ts index a31e48d1d..12c2c158e 100644 --- a/server/tests/api/videos/video-channel-syncs.ts +++ b/server/tests/api/videos/video-channel-syncs.ts | |||
@@ -5,9 +5,9 @@ import { FIXTURE_URLS, SQLCommand } from '@server/tests/shared' | |||
5 | import { areHttpImportTestsDisabled } from '@shared/core-utils' | 5 | import { areHttpImportTestsDisabled } from '@shared/core-utils' |
6 | import { VideoChannelSyncState, VideoInclude, VideoPrivacy } from '@shared/models' | 6 | import { VideoChannelSyncState, VideoInclude, VideoPrivacy } from '@shared/models' |
7 | import { | 7 | import { |
8 | cleanupTests, | ||
8 | createMultipleServers, | 9 | createMultipleServers, |
9 | getServerImportConfig, | 10 | getServerImportConfig, |
10 | killallServers, | ||
11 | PeerTubeServer, | 11 | PeerTubeServer, |
12 | setAccessTokensToServers, | 12 | setAccessTokensToServers, |
13 | setDefaultAccountAvatar, | 13 | setDefaultAccountAvatar, |
@@ -309,7 +309,7 @@ describe('Test channel synchronizations', function () { | |||
309 | await sqlCommand.cleanup() | 309 | await sqlCommand.cleanup() |
310 | } | 310 | } |
311 | 311 | ||
312 | await killallServers(servers) | 312 | await cleanupTests(servers) |
313 | }) | 313 | }) |
314 | }) | 314 | }) |
315 | } | 315 | } |