From d50acfab69ce9e05b272dea6c4d34d52960ba14c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 27 Dec 2017 20:03:37 +0100 Subject: Add comments federation tests --- server/tests/api/check-params/video-channels.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/tests/api/check-params/video-channels.ts') diff --git a/server/tests/api/check-params/video-channels.ts b/server/tests/api/check-params/video-channels.ts index e72b2cb6c..7103aec25 100644 --- a/server/tests/api/check-params/video-channels.ts +++ b/server/tests/api/check-params/video-channels.ts @@ -69,9 +69,9 @@ describe('Test videos API validator', function () { }) }) - describe('When listing author video channels', function () { - it('Should fail with bad author', async function () { - const path = '/api/v1/videos/authors/hello/channels' + describe('When listing account video channels', function () { + it('Should fail with bad account', async function () { + const path = '/api/v1/videos/accounts/hello/channels' await request(server.url) .get(path) @@ -79,8 +79,8 @@ describe('Test videos API validator', function () { .expect(400) }) - it('Should fail with a unknown author', async function () { - const path = '/api/v1/videos/authors/156/channels' + it('Should fail with a unknown account', async function () { + const path = '/api/v1/videos/accounts/156/channels' await request(server.url) .get(path) -- cgit v1.2.3