Fix tests for according to the sort
authorChocobozzz <florian.bigard@gmail.com>
Tue, 17 May 2016 19:18:19 +0000 (21:18 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Tue, 17 May 2016 19:18:19 +0000 (21:18 +0200)
server/tests/api/utils.js

index ac43946cda82c54082fce2831fda818a2b074778..218b461579b8280232fae06fbb86d8f63016e403 100644 (file)
@@ -72,6 +72,7 @@ function getVideosList (url, end) {
 
   request(url)
     .get(path)
+    .query({ sort: 'name' })
     .set('Accept', 'application/json')
     .expect(200)
     .expect('Content-Type', /json/)