diff options
Diffstat (limited to 'server/tests/api/activitypub/fetch.ts')
-rw-r--r-- | server/tests/api/activitypub/fetch.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/activitypub/fetch.ts b/server/tests/api/activitypub/fetch.ts index 4edabd1d9..f0caea507 100644 --- a/server/tests/api/activitypub/fetch.ts +++ b/server/tests/api/activitypub/fetch.ts | |||
@@ -35,13 +35,13 @@ describe('Test ActivityPub fetcher', function () { | |||
35 | await servers[0].videos.upload({ token: userAccessToken, attributes: { name: 'video user' } }) | 35 | await servers[0].videos.upload({ token: userAccessToken, attributes: { name: 'video user' } }) |
36 | 36 | ||
37 | { | 37 | { |
38 | const to = 'http://localhost:' + servers[0].port + '/accounts/user1' | 38 | const to = servers[0].url + '/accounts/user1' |
39 | const value = 'http://localhost:' + servers[1].port + '/accounts/user1' | 39 | const value = servers[1].url + '/accounts/user1' |
40 | await servers[0].sql.setActorField(to, 'url', value) | 40 | await servers[0].sql.setActorField(to, 'url', value) |
41 | } | 41 | } |
42 | 42 | ||
43 | { | 43 | { |
44 | const value = 'http://localhost:' + servers[2].port + '/videos/watch/' + uuid | 44 | const value = servers[2].url + '/videos/watch/' + uuid |
45 | await servers[0].sql.setVideoField(uuid, 'url', value) | 45 | await servers[0].sql.setVideoField(uuid, 'url', value) |
46 | } | 46 | } |
47 | }) | 47 | }) |