diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-09-07 21:22:17 +0200 |
commit | aa2e7f1501ce108e0c250538aba7046fddefc935 (patch) | |
tree | c1ef2d2f4b75bcacb54a4ac396bd668ec3b7168d /server/tests/utils/pods.ts | |
parent | 337c258e77b28bb39e61b7b88cbdaa18363b9461 (diff) | |
download | PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.gz PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.tar.zst PeerTube-aa2e7f1501ce108e0c250538aba7046fddefc935.zip |
urls: makefriends/quitfriends -> make-friends/quit-friends
Diffstat (limited to 'server/tests/utils/pods.ts')
-rw-r--r-- | server/tests/utils/pods.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/pods.ts b/server/tests/utils/pods.ts index 0bea6db97..a86dd20d9 100644 --- a/server/tests/utils/pods.ts +++ b/server/tests/utils/pods.ts | |||
@@ -37,7 +37,7 @@ async function makeFriends (url: string, accessToken: string, expectedStatus = 2 | |||
37 | 'localhost:9003' | 37 | 'localhost:9003' |
38 | ] | 38 | ] |
39 | } | 39 | } |
40 | const path = '/api/v1/pods/makefriends' | 40 | const path = '/api/v1/pods/make-friends' |
41 | 41 | ||
42 | // The first pod make friend with the third | 42 | // The first pod make friend with the third |
43 | const res = await request(url) | 43 | const res = await request(url) |
@@ -54,7 +54,7 @@ async function makeFriends (url: string, accessToken: string, expectedStatus = 2 | |||
54 | } | 54 | } |
55 | 55 | ||
56 | async function quitFriends (url: string, accessToken: string, expectedStatus = 204) { | 56 | async function quitFriends (url: string, accessToken: string, expectedStatus = 204) { |
57 | const path = '/api/v1/pods/quitfriends' | 57 | const path = '/api/v1/pods/quit-friends' |
58 | 58 | ||
59 | // The first pod make friend with the third | 59 | // The first pod make friend with the third |
60 | const res = await request(url) | 60 | const res = await request(url) |