diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 11:58:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 12:14:26 +0200 |
commit | ba2684ceddf9b76312635b9cddc6bf6975ce436a (patch) | |
tree | d7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/tests/api/search | |
parent | e45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff) | |
download | PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip |
Fix lint
Diffstat (limited to 'server/tests/api/search')
-rw-r--r-- | server/tests/api/search/search-videos.ts | 6 |
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 | ||