diff options
Diffstat (limited to 'server/tests/utils')
-rw-r--r-- | server/tests/utils/follows.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/utils/follows.ts b/server/tests/utils/follows.ts index b454fe2f8..cffc1648f 100644 --- a/server/tests/utils/follows.ts +++ b/server/tests/utils/follows.ts | |||
@@ -29,7 +29,7 @@ function getFollowingListPaginationAndSort (url: string, start: number, count: n | |||
29 | } | 29 | } |
30 | 30 | ||
31 | async function follow (follower: string, following: string[], accessToken: string, expectedStatus = 204) { | 31 | async function follow (follower: string, following: string[], accessToken: string, expectedStatus = 204) { |
32 | const path = '/api/v1/server/follow' | 32 | const path = '/api/v1/server/following' |
33 | 33 | ||
34 | const followingHosts = following.map(f => f.replace(/^http:\/\//, '')) | 34 | const followingHosts = following.map(f => f.replace(/^http:\/\//, '')) |
35 | const res = await request(follower) | 35 | const res = await request(follower) |