aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/videos-overviews.ts
diff options
context:
space:
mode:
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