aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-06 15:33:39 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:17 +0200
commit2d1ad5b96063d1e430ca99128a15e2e56cb614e0 (patch)
tree5f65def246ec7956cd6f8f2a252588591c994733 /server/tests/api/search
parentaf971e06c620bd46a5aa64c8833364e7022b5e3d (diff)
downloadPeerTube-2d1ad5b96063d1e430ca99128a15e2e56cb614e0.tar.gz
PeerTube-2d1ad5b96063d1e430ca99128a15e2e56cb614e0.tar.zst
PeerTube-2d1ad5b96063d1e430ca99128a15e2e56cb614e0.zip
Move AP request in requests file
Diffstat (limited to 'server/tests/api/search')
-rw-r--r--server/tests/api/search/search-activitypub-videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/search/search-activitypub-videos.ts b/server/tests/api/search/search-activitypub-videos.ts
index 1a5130ce9..7c6455258 100644
--- a/server/tests/api/search/search-activitypub-videos.ts
+++ b/server/tests/api/search/search-activitypub-videos.ts
@@ -72,7 +72,7 @@ describe('Test ActivityPub videos search', function () {
72 72
73 it('Should search a local video', async function () { 73 it('Should search a local video', async function () {
74 const search = 'http://localhost:' + servers[0].port + '/videos/watch/' + videoServer1UUID 74 const search = 'http://localhost:' + servers[0].port + '/videos/watch/' + videoServer1UUID
75 const body = await command.searchVideos({ search }) 75 const body = await command.searchVideos({ search })
76 76
77 expect(body.total).to.equal(1) 77 expect(body.total).to.equal(1)
78 expect(body.data).to.be.an('array') 78 expect(body.data).to.be.an('array')