aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/friendsBasic.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/friendsBasic.js')
-rw-r--r--server/tests/api/friendsBasic.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/friendsBasic.js b/server/tests/api/friendsBasic.js
index 68817e852..5b738ad39 100644
--- a/server/tests/api/friendsBasic.js
+++ b/server/tests/api/friendsBasic.js
@@ -25,9 +25,10 @@ describe('Test basic friends', function () {
25 if (err) throw err 25 if (err) throw err
26 26
27 const result = res.body 27 const result = res.body
28 const resultUrls = [ result[0].url, result[1].url ]
29 expect(result).to.be.an('array') 28 expect(result).to.be.an('array')
30 expect(result.length).to.equal(2) 29 expect(result.length).to.equal(2)
30
31 const resultUrls = [ result[0].url, result[1].url ]
31 expect(resultUrls[0]).to.not.equal(resultUrls[1]) 32 expect(resultUrls[0]).to.not.equal(resultUrls[1])
32 33
33 const errorString = 'Friends url do not correspond for ' + serverToTest.url 34 const errorString = 'Friends url do not correspond for ' + serverToTest.url