aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-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