diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-09 14:15:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 12edc1495a36b2199f1bf1ba37f50c7b694be382 (patch) | |
tree | 3abfe2e5b54076de73fbfa25386d0313fc3b7242 /server/tests/cli/update-host.ts | |
parent | a54618880c394ad7571f3f3222dc96ec2dd10d9a (diff) | |
download | PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.tar.gz PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.tar.zst PeerTube-12edc1495a36b2199f1bf1ba37f50c7b694be382.zip |
Introduce comments command
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 09a3dd1e7..61a6c403a 100644 --- a/server/tests/cli/update-host.ts +++ b/server/tests/cli/update-host.ts | |||
@@ -2,7 +2,6 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { | 4 | import { |
5 | addVideoCommentThread, | ||
6 | cleanupTests, | 5 | cleanupTests, |
7 | createUser, | 6 | createUser, |
8 | flushAndRunServer, | 7 | flushAndRunServer, |
@@ -55,7 +54,7 @@ describe('Test update host scripts', function () { | |||
55 | 54 | ||
56 | // Create comments | 55 | // Create comments |
57 | const text = 'my super first comment' | 56 | const text = 'my super first comment' |
58 | await addVideoCommentThread(server.url, server.accessToken, video1UUID, text) | 57 | await server.commentsCommand.createThread({ videoId: video1UUID, text }) |
59 | 58 | ||
60 | await waitJobs(server) | 59 | await waitJobs(server) |
61 | }) | 60 | }) |