diff options
Diffstat (limited to 'server/tests/api/videos/videos-overview.ts')
-rw-r--r-- | server/tests/api/videos/videos-overview.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/videos/videos-overview.ts b/server/tests/api/videos/videos-overview.ts index b3ab9e070..ccbc6f4a4 100644 --- a/server/tests/api/videos/videos-overview.ts +++ b/server/tests/api/videos/videos-overview.ts | |||
@@ -3,7 +3,6 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { | 5 | import { |
6 | addAccountToAccountBlocklist, | ||
7 | cleanupTests, | 6 | cleanupTests, |
8 | flushAndRunServer, | 7 | flushAndRunServer, |
9 | generateUserAccessToken, | 8 | generateUserAccessToken, |
@@ -115,7 +114,7 @@ describe('Test a videos overview', function () { | |||
115 | it('Should hide muted accounts', async function () { | 114 | it('Should hide muted accounts', async function () { |
116 | const token = await generateUserAccessToken(server, 'choco') | 115 | const token = await generateUserAccessToken(server, 'choco') |
117 | 116 | ||
118 | await addAccountToAccountBlocklist(server.url, token, 'root@' + server.host) | 117 | await server.blocklistCommand.addToMyBlocklist({ token, account: 'root@' + server.host }) |
119 | 118 | ||
120 | { | 119 | { |
121 | const body = await server.overviewsCommand.getVideos({ page: 1 }) | 120 | const body = await server.overviewsCommand.getVideos({ page: 1 }) |