First version with PostgreSQL
[oweals/peertube.git] / server / tests / utils / videos.js
index 536093db13998c0cf700753d00402924a3c6f7c8..5c120597f0ac1dc762a196259139d945c8706fd9 100644 (file)
@@ -25,7 +25,7 @@ function getAllVideosListBy (url, end) {
 
   request(url)
     .get(path)
-    .query({ sort: 'createdDate' })
+    .query({ sort: 'createdAt' })
     .query({ start: 0 })
     .query({ count: 10000 })
     .set('Accept', 'application/json')