X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fsearch%2Fsearch-videos.ts;h=b1ebc855c65e5ad92c93dca9807be44f1deff6c2;hb=ba2684ceddf9b76312635b9cddc6bf6975ce436a;hp=ff4c3c161897699469134979f00aec247f058d95;hpb=e45dd87b93c621c606415f9e8d0d381de6d7a2d7;p=github%2FChocobozzz%2FPeerTube.git 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 () { licence: 2, language: 'en' } - await server.videos.upload({ attributes: attributes }) + await server.videos.upload({ attributes }) await server.videos.upload({ attributes: { ...attributes, name: attributes.name + ' duplicate' } }) } @@ -119,7 +119,7 @@ describe('Test videos search', function () { licence: 3, language: 'pl' } - await server.videos.upload({ attributes: attributes }) + await server.videos.upload({ attributes }) } { @@ -210,7 +210,7 @@ describe('Test videos search', function () { const search = { categoryOneOf: [ 3 ] } - const body = await command.advancedVideoSearch({ search: search }) + const body = await command.advancedVideoSearch({ search }) expect(body.total).to.equal(1)