aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/search')
-rw-r--r--server/tests/api/search/search-videos.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts
index ff4c3c161..b1ebc855c 100644
--- a/server/tests/api/search/search-videos.ts
+++ b/server/tests/api/search/search-videos.ts
@@ -106,7 +106,7 @@ describe('Test videos search', function () {
106 licence: 2, 106 licence: 2,
107 language: 'en' 107 language: 'en'
108 } 108 }
109 await server.videos.upload({ attributes: attributes }) 109 await server.videos.upload({ attributes })
110 110
111 await server.videos.upload({ attributes: { ...attributes, name: attributes.name + ' duplicate' } }) 111 await server.videos.upload({ attributes: { ...attributes, name: attributes.name + ' duplicate' } })
112 } 112 }
@@ -119,7 +119,7 @@ describe('Test videos search', function () {
119 licence: 3, 119 licence: 3,
120 language: 'pl' 120 language: 'pl'
121 } 121 }
122 await server.videos.upload({ attributes: attributes }) 122 await server.videos.upload({ attributes })
123 } 123 }
124 124
125 { 125 {
@@ -210,7 +210,7 @@ describe('Test videos search', function () {
210 const search = { 210 const search = {
211 categoryOneOf: [ 3 ] 211 categoryOneOf: [ 3 ]
212 } 212 }
213 const body = await command.advancedVideoSearch({ search: search }) 213 const body = await command.advancedVideoSearch({ search })
214 214
215 expect(body.total).to.equal(1) 215 expect(body.total).to.equal(1)
216 216