aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-08 11:17:55 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commite3d15a6a9aed97a004d9dac1b7a6499d794e080a (patch)
tree7637ac85a8659a66a1290c9533e0206e9a0c5a30 /server/tests/api/users/users.ts
parenta1637fa1e25b60a88f7cfe50aac8953f50d55761 (diff)
downloadPeerTube-e3d15a6a9aed97a004d9dac1b7a6499d794e080a.tar.gz
PeerTube-e3d15a6a9aed97a004d9dac1b7a6499d794e080a.tar.zst
PeerTube-e3d15a6a9aed97a004d9dac1b7a6499d794e080a.zip
Introduce blacklist command
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r--server/tests/api/users/users.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 3beea5d50..4b9056306 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -11,7 +11,6 @@ import {
11 createUser, 11 createUser,
12 deleteMe, 12 deleteMe,
13 flushAndRunServer, 13 flushAndRunServer,
14 getBlacklistedVideosList,
15 getMyUserInformation, 14 getMyUserInformation,
16 getMyUserVideoQuotaUsed, 15 getMyUserVideoQuotaUsed,
17 getMyUserVideoRating, 16 getMyUserVideoRating,
@@ -808,7 +807,7 @@ describe('Test users', function () {
808 807
809 describe('Video blacklists', function () { 808 describe('Video blacklists', function () {
810 it('Should be able to list video blacklist by a moderator', async function () { 809 it('Should be able to list video blacklist by a moderator', async function () {
811 await getBlacklistedVideosList({ url: server.url, token: accessTokenUser }) 810 await server.blacklistCommand.list({ token: accessTokenUser })
812 }) 811 })
813 }) 812 })
814 813