aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users-multiple-servers.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-14 18:21:14 +0100
committerChocobozzz <me@florianbigard.com>2018-02-14 18:33:06 +0100
commit7b0956ec4f7753c864c4cea220e6f189327baa93 (patch)
treeed6728632a5a53bcde55978e21c2b7296c104f7e /server/tests/api/users/users-multiple-servers.ts
parent3bcfff7f446d0a1d8ef5adf340375e178259a42c (diff)
downloadPeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.gz
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.zst
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.zip
Fix tests
Diffstat (limited to 'server/tests/api/users/users-multiple-servers.ts')
-rw-r--r--server/tests/api/users/users-multiple-servers.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/server/tests/api/users/users-multiple-servers.ts b/server/tests/api/users/users-multiple-servers.ts
index 0483b9c3d..3c4eaff14 100644
--- a/server/tests/api/users/users-multiple-servers.ts
+++ b/server/tests/api/users/users-multiple-servers.ts
@@ -65,8 +65,7 @@ describe('Test users with multiple servers', function () {
65 const res = await getMyUserInformation(servers[0].url, servers[0].accessToken) 65 const res = await getMyUserInformation(servers[0].url, servers[0].accessToken)
66 user = res.body 66 user = res.body
67 67
68 const test = await testImage(servers[0].url, 'avatar2-resized', user.account.avatar.path, '.png') 68 await testImage(servers[0].url, 'avatar2-resized', user.account.avatar.path, '.png')
69 expect(test).to.equal(true)
70 69
71 await wait(5000) 70 await wait(5000)
72 }) 71 })
@@ -83,8 +82,7 @@ describe('Test users with multiple servers', function () {
83 expect(rootServer1Get.name).to.equal('root') 82 expect(rootServer1Get.name).to.equal('root')
84 expect(rootServer1Get.host).to.equal('localhost:9001') 83 expect(rootServer1Get.host).to.equal('localhost:9001')
85 84
86 const test = await testImage(server.url, 'avatar2-resized', rootServer1Get.avatar.path, '.png') 85 await testImage(server.url, 'avatar2-resized', rootServer1Get.avatar.path, '.png')
87 expect(test).to.equal(true)
88 } 86 }
89 }) 87 })
90 88