aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/videos-overviews.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-16 09:04:35 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit89d241a79c262b9775c233b73cff080043ebb5e6 (patch)
treecb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/check-params/videos-overviews.ts
parentd23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff)
downloadPeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz
PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst
PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip
Shorter server command names
Diffstat (limited to 'server/tests/api/check-params/videos-overviews.ts')
-rw-r--r--server/tests/api/check-params/videos-overviews.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/videos-overviews.ts b/server/tests/api/check-params/videos-overviews.ts
index 44a936c9f..3597c81d3 100644
--- a/server/tests/api/check-params/videos-overviews.ts
+++ b/server/tests/api/check-params/videos-overviews.ts
@@ -17,12 +17,12 @@ describe('Test videos overview', function () {
17 describe('When getting videos overview', function () { 17 describe('When getting videos overview', function () {
18 18
19 it('Should fail with a bad pagination', async function () { 19 it('Should fail with a bad pagination', async function () {
20 await server.overviewsCommand.getVideos({ page: 0, expectedStatus: 400 }) 20 await server.overviews.getVideos({ page: 0, expectedStatus: 400 })
21 await server.overviewsCommand.getVideos({ page: 100, expectedStatus: 400 }) 21 await server.overviews.getVideos({ page: 100, expectedStatus: 400 })
22 }) 22 })
23 23
24 it('Should succeed with a good pagination', async function () { 24 it('Should succeed with a good pagination', async function () {
25 await server.overviewsCommand.getVideos({ page: 1 }) 25 await server.overviews.getVideos({ page: 1 })
26 }) 26 })
27 }) 27 })
28 28