X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fcli%2Fupdate-host.ts;h=61a6c403aadfcf452e58e0e5c581668641dd4bf1;hb=12edc1495a36b2199f1bf1ba37f50c7b694be382;hp=09a3dd1e7a181c47d622e3da780ff405843628ff;hpb=a54618880c394ad7571f3f3222dc96ec2dd10d9a;p=github%2FChocobozzz%2FPeerTube.git 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 @@ import 'mocha' import { - addVideoCommentThread, cleanupTests, createUser, flushAndRunServer, @@ -55,7 +54,7 @@ describe('Test update host scripts', function () { // Create comments const text = 'my super first comment' - await addVideoCommentThread(server.url, server.accessToken, video1UUID, text) + await server.commentsCommand.createThread({ videoId: video1UUID, text }) await waitJobs(server) })