aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/users-multiple-servers.ts6
-rw-r--r--server/tests/api/users/users.ts3
2 files changed, 3 insertions, 6 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
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index c23b58089..ac167d4f9 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -359,8 +359,7 @@ describe('Test users', function () {
359 const res = await getMyUserInformation(server.url, accessTokenUser) 359 const res = await getMyUserInformation(server.url, accessTokenUser)
360 const user = res.body 360 const user = res.body
361 361
362 const test = await testImage(server.url, 'avatar-resized', user.account.avatar.path, '.png') 362 await testImage(server.url, 'avatar-resized', user.account.avatar.path, '.png')
363 expect(test).to.equal(true)
364 }) 363 })
365 364
366 it('Should be able to update another user', async function () { 365 it('Should be able to update another user', async function () {