diff options
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r-- | server/tests/api/users/users.ts | 5 |
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 () { |