aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-channels.ts')
-rw-r--r--server/tests/api/check-params/video-channels.ts10
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)