diff options
Diffstat (limited to 'server/tests/api/search/search-playlists.ts')
-rw-r--r-- | server/tests/api/search/search-playlists.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/tests/api/search/search-playlists.ts b/server/tests/api/search/search-playlists.ts index 517884503..2e4773ed6 100644 --- a/server/tests/api/search/search-playlists.ts +++ b/server/tests/api/search/search-playlists.ts | |||
@@ -2,16 +2,15 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { VideoPlaylistPrivacy } from '@shared/models' | ||
6 | import { | 5 | import { |
7 | cleanupTests, | 6 | cleanupTests, |
8 | flushAndRunServer, | 7 | flushAndRunServer, |
9 | SearchCommand, | 8 | SearchCommand, |
10 | ServerInfo, | 9 | ServerInfo, |
11 | setAccessTokensToServers, | 10 | setAccessTokensToServers, |
12 | setDefaultVideoChannel, | 11 | setDefaultVideoChannel |
13 | uploadVideoAndGetId | 12 | } from '@shared/extra-utils' |
14 | } from '../../../../shared/extra-utils' | 13 | import { VideoPlaylistPrivacy } from '@shared/models' |
15 | 14 | ||
16 | const expect = chai.expect | 15 | const expect = chai.expect |
17 | 16 | ||
@@ -27,7 +26,7 @@ describe('Test playlists search', function () { | |||
27 | await setAccessTokensToServers([ server ]) | 26 | await setAccessTokensToServers([ server ]) |
28 | await setDefaultVideoChannel([ server ]) | 27 | await setDefaultVideoChannel([ server ]) |
29 | 28 | ||
30 | const videoId = (await uploadVideoAndGetId({ server: server, videoName: 'video' })).uuid | 29 | const videoId = (await server.videosCommand.quickUpload({ name: 'video' })).uuid |
31 | 30 | ||
32 | { | 31 | { |
33 | const attributes = { | 32 | const attributes = { |