describe('Test follows', function () {
let servers: ServerInfo[] = []
- let server3Id: number
before(async function () {
this.timeout(20000)
expect(server3Follow).to.not.be.undefined
expect(server2Follow.state).to.equal('accepted')
expect(server3Follow.state).to.equal('accepted')
-
- server3Id = server3Follow.following.id
})
it('Should have 0 followings on server 1 and 2', async function () {
it('Should unfollow server 3 on server 1', async function () {
this.timeout(5000)
- await unfollow(servers[0].url, servers[0].accessToken, server3Id)
+ await unfollow(servers[0].url, servers[0].accessToken, servers[2])
await wait(3000)
})