aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/pods.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-09-07 21:22:17 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-09-07 21:22:17 +0200
commitaa2e7f1501ce108e0c250538aba7046fddefc935 (patch)
treec1ef2d2f4b75bcacb54a4ac396bd668ec3b7168d /server/tests/utils/pods.ts
parent337c258e77b28bb39e61b7b88cbdaa18363b9461 (diff)
downloadPeerTube-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.ts4
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
56async function quitFriends (url: string, accessToken: string, expectedStatus = 204) { 56async 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)