X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fusers%2Fusers-multiple-servers.ts;h=3c4eaff14976ac96a9e97872c8c69abb50d103ba;hb=7b0956ec4f7753c864c4cea220e6f189327baa93;hp=0483b9c3de07c7a1ed1b0be66ce904a362efec3b;hpb=3bcfff7f446d0a1d8ef5adf340375e178259a42c;p=github%2FChocobozzz%2FPeerTube.git 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 () { const res = await getMyUserInformation(servers[0].url, servers[0].accessToken) user = res.body - const test = await testImage(servers[0].url, 'avatar2-resized', user.account.avatar.path, '.png') - expect(test).to.equal(true) + await testImage(servers[0].url, 'avatar2-resized', user.account.avatar.path, '.png') await wait(5000) }) @@ -83,8 +82,7 @@ describe('Test users with multiple servers', function () { expect(rootServer1Get.name).to.equal('root') expect(rootServer1Get.host).to.equal('localhost:9001') - const test = await testImage(server.url, 'avatar2-resized', rootServer1Get.avatar.path, '.png') - expect(test).to.equal(true) + await testImage(server.url, 'avatar2-resized', rootServer1Get.avatar.path, '.png') } })