diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-18 16:13:54 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-18 16:13:54 +0200 |
commit | 528a9efa8272532bbd0dafc35c3e05e57c50f61e (patch) | |
tree | 62d4417df4ab9b2e53c44dc7271be81b88e4e0e5 /server/tests/api/friendsBasic.js | |
parent | b2e4c0ba1a33b8a50491a1f8d111468a7da5640f (diff) | |
download | PeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.tar.gz PeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.tar.zst PeerTube-528a9efa8272532bbd0dafc35c3e05e57c50f61e.zip |
Try to make a better communication (between pods) module
Diffstat (limited to 'server/tests/api/friendsBasic.js')
-rw-r--r-- | server/tests/api/friendsBasic.js | 3 |
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 |