+ it('Should list friends correctly', async function () {
+ const start = 1
+ const count = 1
+ const sort = '-host'
+
+ const res = await getPodsListPaginationAndSort(servers[0].url, start, count, sort)
+ expect(res.body.total).to.equal(2)
+ expect(res.body.data).to.have.lengthOf(1)
+
+ const pod = res.body.data[0]
+ expect(pod.host).to.equal('localhost:9002')
+ expect(pod.email).to.equal('admin2@example.com')
+ expect(pod.score).to.equal(20)
+ expect(dateIsValid(pod.createdAt)).to.be.true
+ })
+