aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/api/utils.js b/server/tests/api/utils.js
index ac43946cd..218b46157 100644
--- a/server/tests/api/utils.js
+++ b/server/tests/api/utils.js
@@ -72,6 +72,7 @@ function getVideosList (url, end) {
72 72
73 request(url) 73 request(url)
74 .get(path) 74 .get(path)
75 .query({ sort: 'name' })
75 .set('Accept', 'application/json') 76 .set('Accept', 'application/json')
76 .expect(200) 77 .expect(200)
77 .expect('Content-Type', /json/) 78 .expect('Content-Type', /json/)