diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-17 21:18:19 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-17 21:18:19 +0200 |
commit | 1af470c709979f8159ae24818317b5daead656fb (patch) | |
tree | 1a64ff28a96ec6a865e42fe6d24e2be05c0355e6 /server/tests/api/utils.js | |
parent | a877d5acc5c52b8667c65f725bbca9a52e40ec48 (diff) | |
download | PeerTube-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.js | 1 |
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/) |