aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/friends-basic.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-02-16 19:19:56 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-02-16 19:19:56 +0100
commit4793c343fd3cde3c6282ed0fb38e039b4276de0e (patch)
tree566856a8d0bee0ee06e60c5e3bf6b998135a078a /server/tests/api/friends-basic.js
parent3266ad7cf8ff10d0fdae456196eff1653cc7ac21 (diff)
downloadPeerTube-4793c343fd3cde3c6282ed0fb38e039b4276de0e.tar.gz
PeerTube-4793c343fd3cde3c6282ed0fb38e039b4276de0e.tar.zst
PeerTube-4793c343fd3cde3c6282ed0fb38e039b4276de0e.zip
Add email to pods
Diffstat (limited to 'server/tests/api/friends-basic.js')
-rw-r--r--server/tests/api/friends-basic.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/api/friends-basic.js b/server/tests/api/friends-basic.js
index 6f37ff291..62c40df7b 100644
--- a/server/tests/api/friends-basic.js
+++ b/server/tests/api/friends-basic.js
@@ -96,6 +96,7 @@ describe('Test basic friends', function () {
96 96
97 const pod = result[0] 97 const pod = result[0]
98 expect(pod.host).to.equal(servers[2].host) 98 expect(pod.host).to.equal(servers[2].host)
99 expect(pod.email).to.equal('admin3@example.com')
99 expect(pod.score).to.equal(20) 100 expect(pod.score).to.equal(20)
100 expect(miscsUtils.dateIsValid(pod.createdAt)).to.be.true 101 expect(miscsUtils.dateIsValid(pod.createdAt)).to.be.true
101 102
@@ -113,6 +114,7 @@ describe('Test basic friends', function () {
113 114
114 const pod = result[0] 115 const pod = result[0]
115 expect(pod.host).to.equal(servers[1].host) 116 expect(pod.host).to.equal(servers[1].host)
117 expect(pod.email).to.equal('admin2@example.com')
116 expect(pod.score).to.equal(20) 118 expect(pod.score).to.equal(20)
117 expect(miscsUtils.dateIsValid(pod.createdAt)).to.be.true 119 expect(miscsUtils.dateIsValid(pod.createdAt)).to.be.true
118 120