diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-27 20:03:37 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-27 20:03:37 +0100 |
commit | d50acfab69ce9e05b272dea6c4d34d52960ba14c (patch) | |
tree | 55ce8b70777603b772d2cecb96cd71aac9ccfb9c /server/tests/api/check-params/video-channels.ts | |
parent | ae45f988bb5ea32152cca02a282d02599dbb633b (diff) | |
download | PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.tar.gz PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.tar.zst PeerTube-d50acfab69ce9e05b272dea6c4d34d52960ba14c.zip |
Add comments federation tests
Diffstat (limited to 'server/tests/api/check-params/video-channels.ts')
-rw-r--r-- | server/tests/api/check-params/video-channels.ts | 10 |
1 files changed, 5 insertions, 5 deletions
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 () { | |||
69 | }) | 69 | }) |
70 | }) | 70 | }) |
71 | 71 | ||
72 | describe('When listing author video channels', function () { | 72 | describe('When listing account video channels', function () { |
73 | it('Should fail with bad author', async function () { | 73 | it('Should fail with bad account', async function () { |
74 | const path = '/api/v1/videos/authors/hello/channels' | 74 | const path = '/api/v1/videos/accounts/hello/channels' |
75 | 75 | ||
76 | await request(server.url) | 76 | await request(server.url) |
77 | .get(path) | 77 | .get(path) |
@@ -79,8 +79,8 @@ describe('Test videos API validator', function () { | |||
79 | .expect(400) | 79 | .expect(400) |
80 | }) | 80 | }) |
81 | 81 | ||
82 | it('Should fail with a unknown author', async function () { | 82 | it('Should fail with a unknown account', async function () { |
83 | const path = '/api/v1/videos/authors/156/channels' | 83 | const path = '/api/v1/videos/accounts/156/channels' |
84 | 84 | ||
85 | await request(server.url) | 85 | await request(server.url) |
86 | .get(path) | 86 | .get(path) |