diff options
Diffstat (limited to 'server/tests/cli/update-host.ts')
-rw-r--r-- | server/tests/cli/update-host.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts index e986a04f2..b857fcf28 100644 --- a/server/tests/cli/update-host.ts +++ b/server/tests/cli/update-host.ts | |||
@@ -4,7 +4,6 @@ import 'mocha' | |||
4 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | createUser, | ||
8 | flushAndRunServer, | 7 | flushAndRunServer, |
9 | getVideo, | 8 | getVideo, |
10 | getVideosList, | 9 | getVideosList, |
@@ -41,7 +40,7 @@ describe('Test update host scripts', function () { | |||
41 | await uploadVideo(server.url, server.accessToken, videoAttributes) | 40 | await uploadVideo(server.url, server.accessToken, videoAttributes) |
42 | 41 | ||
43 | // Create a user | 42 | // Create a user |
44 | await createUser({ url: server.url, accessToken: server.accessToken, username: 'toto', password: 'coucou' }) | 43 | await server.usersCommand.create({ username: 'toto', password: 'coucou' }) |
45 | 44 | ||
46 | // Create channel | 45 | // Create channel |
47 | const videoChannel = { | 46 | const videoChannel = { |