diff options
Diffstat (limited to 'server/tests/api/users')
-rw-r--r-- | server/tests/api/users/users.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts index ed670b3c9..4d255f340 100644 --- a/server/tests/api/users/users.ts +++ b/server/tests/api/users/users.ts | |||
@@ -4,7 +4,6 @@ import 'mocha' | |||
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { HttpStatusCode } from '@shared/core-utils' | 5 | import { HttpStatusCode } from '@shared/core-utils' |
6 | import { | 6 | import { |
7 | addVideoCommentThread, | ||
8 | blockUser, | 7 | blockUser, |
9 | cleanupTests, | 8 | cleanupTests, |
10 | closeAllSequelize, | 9 | closeAllSequelize, |
@@ -983,7 +982,7 @@ describe('Test users', function () { | |||
983 | 982 | ||
984 | it('Should report correct video comments for user', async function () { | 983 | it('Should report correct video comments for user', async function () { |
985 | const text = 'super comment' | 984 | const text = 'super comment' |
986 | await addVideoCommentThread(server.url, user17AccessToken, videoId, text) | 985 | await server.commentsCommand.createThread({ token: user17AccessToken, videoId, text }) |
987 | 986 | ||
988 | const res = await getUserInformation(server.url, server.accessToken, user17Id, true) | 987 | const res = await getUserInformation(server.url, server.accessToken, user17Id, true) |
989 | const user: User = res.body | 988 | const user: User = res.body |