aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/utils.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-17 21:18:19 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-17 21:18:19 +0200
commit1af470c709979f8159ae24818317b5daead656fb (patch)
tree1a64ff28a96ec6a865e42fe6d24e2be05c0355e6 /server/tests/api/utils.js
parenta877d5acc5c52b8667c65f725bbca9a52e40ec48 (diff)
downloadPeerTube-1af470c709979f8159ae24818317b5daead656fb.tar.gz
PeerTube-1af470c709979f8159ae24818317b5daead656fb.tar.zst
PeerTube-1af470c709979f8159ae24818317b5daead656fb.zip
Fix tests for according to the sort
Diffstat (limited to 'server/tests/api/utils.js')
-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/)