diff options
Diffstat (limited to 'server/tests/api/multiplePods.js')
-rw-r--r-- | server/tests/api/multiplePods.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/multiplePods.js b/server/tests/api/multiplePods.js index f1415f6f1..1a61034fc 100644 --- a/server/tests/api/multiplePods.js +++ b/server/tests/api/multiplePods.js | |||
@@ -72,7 +72,7 @@ describe('Test multiple pods', function () { | |||
72 | 72 | ||
73 | async.series([ | 73 | async.series([ |
74 | function (next) { | 74 | function (next) { |
75 | utils.uploadVideo(servers[0].url, servers[0].access_token, 'my super name for pod 1', 'my super description for pod 1', 'video_short1.webm', next) | 75 | utils.uploadVideo(servers[0].url, servers[0].accessToken, 'my super name for pod 1', 'my super description for pod 1', 'video_short1.webm', next) |
76 | }, | 76 | }, |
77 | function (next) { | 77 | function (next) { |
78 | setTimeout(next, 11000) | 78 | setTimeout(next, 11000) |
@@ -127,7 +127,7 @@ describe('Test multiple pods', function () { | |||
127 | 127 | ||
128 | async.series([ | 128 | async.series([ |
129 | function (next) { | 129 | function (next) { |
130 | utils.uploadVideo(servers[1].url, servers[1].access_token, 'my super name for pod 2', 'my super description for pod 2', 'video_short2.webm', next) | 130 | utils.uploadVideo(servers[1].url, servers[1].accessToken, 'my super name for pod 2', 'my super description for pod 2', 'video_short2.webm', next) |
131 | }, | 131 | }, |
132 | function (next) { | 132 | function (next) { |
133 | setTimeout(next, 11000) | 133 | setTimeout(next, 11000) |
@@ -182,10 +182,10 @@ describe('Test multiple pods', function () { | |||
182 | 182 | ||
183 | async.series([ | 183 | async.series([ |
184 | function (next) { | 184 | function (next) { |
185 | utils.uploadVideo(servers[2].url, servers[2].access_token, 'my super name for pod 3', 'my super description for pod 3', 'video_short3.webm', next) | 185 | utils.uploadVideo(servers[2].url, servers[2].accessToken, 'my super name for pod 3', 'my super description for pod 3', 'video_short3.webm', next) |
186 | }, | 186 | }, |
187 | function (next) { | 187 | function (next) { |
188 | utils.uploadVideo(servers[2].url, servers[2].access_token, 'my super name for pod 3-2', 'my super description for pod 3-2', 'video_short.webm', next) | 188 | utils.uploadVideo(servers[2].url, servers[2].accessToken, 'my super name for pod 3-2', 'my super description for pod 3-2', 'video_short.webm', next) |
189 | }, | 189 | }, |
190 | function (next) { | 190 | function (next) { |
191 | setTimeout(next, 22000) | 191 | setTimeout(next, 22000) |