diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-06 15:33:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 2d1ad5b96063d1e430ca99128a15e2e56cb614e0 (patch) | |
tree | 5f65def246ec7956cd6f8f2a252588591c994733 /server/tests/api/search | |
parent | af971e06c620bd46a5aa64c8833364e7022b5e3d (diff) | |
download | PeerTube-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.ts | 2 |
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') |