aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-09 11:21:30 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commita54618880c394ad7571f3f3222dc96ec2dd10d9a (patch)
treec9f7b05e578abc2383bccd707c11438c61857c72 /server/tests/api/users/users.ts
parent57f879a540551c3b958b0991c8e1e3657a4481d8 (diff)
downloadPeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.gz
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.zst
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.zip
Introduce channels command
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r--server/tests/api/users/users.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 4b9056306..ed670b3c9 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -18,7 +18,6 @@ import {
18 getUserInformation, 18 getUserInformation,
19 getUsersList, 19 getUsersList,
20 getUsersListPaginationAndSort, 20 getUsersListPaginationAndSort,
21 getVideoChannel,
22 getVideosList, 21 getVideosList,
23 killallServers, 22 killallServers,
24 login, 23 login,
@@ -864,9 +863,9 @@ describe('Test users', function () {
864 }) 863 })
865 864
866 it('Should have created the channel', async function () { 865 it('Should have created the channel', async function () {
867 const res = await getVideoChannel(server.url, 'my_user_15_channel') 866 const { displayName } = await server.channelsCommand.get({ channelName: 'my_user_15_channel' })
868 867
869 expect(res.body.displayName).to.equal('my channel rocks') 868 expect(displayName).to.equal('my channel rocks')
870 }) 869 })
871 870
872 it('Should remove me', async function () { 871 it('Should remove me', async function () {