aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-20 18:31:49 +0200
committerChocobozzz <me@florianbigard.com>2018-07-24 14:04:05 +0200
commit0b18f4aa80df8868bf34605423c7a298dffbb2aa (patch)
tree25299da5d94fc73e88b21e87aeb2c156999c6fcd /server/tests/api/search
parentd525fc399a14a8b16eaad6d4c0bc0a9c4093c3c9 (diff)
downloadPeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.tar.gz
PeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.tar.zst
PeerTube-0b18f4aa80df8868bf34605423c7a298dffbb2aa.zip
Add advanced search in client
Diffstat (limited to 'server/tests/api/search')
-rw-r--r--server/tests/api/search/search-videos.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts
index 7fc133b46..d2b0f0312 100644
--- a/server/tests/api/search/search-videos.ts
+++ b/server/tests/api/search/search-videos.ts
@@ -216,7 +216,7 @@ describe('Test a videos search', function () {
216 search: '1111 2222 3333', 216 search: '1111 2222 3333',
217 languageOneOf: [ 'pl', 'fr' ], 217 languageOneOf: [ 'pl', 'fr' ],
218 durationMax: 4, 218 durationMax: 4,
219 nsfw: false, 219 nsfw: 'false' as 'false',
220 licenceOneOf: [ 1, 4 ] 220 licenceOneOf: [ 1, 4 ]
221 } 221 }
222 222
@@ -235,7 +235,7 @@ describe('Test a videos search', function () {
235 search: '1111 2222 3333', 235 search: '1111 2222 3333',
236 languageOneOf: [ 'pl', 'fr' ], 236 languageOneOf: [ 'pl', 'fr' ],
237 durationMax: 4, 237 durationMax: 4,
238 nsfw: false, 238 nsfw: 'false' as 'false',
239 licenceOneOf: [ 1, 4 ], 239 licenceOneOf: [ 1, 4 ],
240 sort: '-name' 240 sort: '-name'
241 } 241 }
@@ -255,7 +255,7 @@ describe('Test a videos search', function () {
255 search: '1111 2222 3333', 255 search: '1111 2222 3333',
256 languageOneOf: [ 'pl', 'fr' ], 256 languageOneOf: [ 'pl', 'fr' ],
257 durationMax: 4, 257 durationMax: 4,
258 nsfw: false, 258 nsfw: 'false' as 'false',
259 licenceOneOf: [ 1, 4 ], 259 licenceOneOf: [ 1, 4 ],
260 sort: '-name', 260 sort: '-name',
261 start: 0, 261 start: 0,
@@ -274,7 +274,7 @@ describe('Test a videos search', function () {
274 search: '1111 2222 3333', 274 search: '1111 2222 3333',
275 languageOneOf: [ 'pl', 'fr' ], 275 languageOneOf: [ 'pl', 'fr' ],
276 durationMax: 4, 276 durationMax: 4,
277 nsfw: false, 277 nsfw: 'false' as 'false',
278 licenceOneOf: [ 1, 4 ], 278 licenceOneOf: [ 1, 4 ],
279 sort: '-name', 279 sort: '-name',
280 start: 3, 280 start: 3,