diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-14 17:38:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-19 10:53:16 +0100 |
commit | 50d6de9c286abcb34ff4234d56d9cbb803db7665 (patch) | |
tree | f1732b27edcd05c7877a8358b8312f1e38c287ed /server/tests/api/follows.ts | |
parent | fadf619ad61a016c1c7fc53de5a8f398a4f77519 (diff) | |
download | PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.gz PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.tar.zst PeerTube-50d6de9c286abcb34ff4234d56d9cbb803db7665.zip |
Begin moving video channel to actor
Diffstat (limited to 'server/tests/api/follows.ts')
-rw-r--r-- | server/tests/api/follows.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/server/tests/api/follows.ts b/server/tests/api/follows.ts index dcb4c8bd9..10eb48969 100644 --- a/server/tests/api/follows.ts +++ b/server/tests/api/follows.ts | |||
@@ -23,7 +23,6 @@ const expect = chai.expect | |||
23 | 23 | ||
24 | describe('Test follows', function () { | 24 | describe('Test follows', function () { |
25 | let servers: ServerInfo[] = [] | 25 | let servers: ServerInfo[] = [] |
26 | let server3Id: number | ||
27 | 26 | ||
28 | before(async function () { | 27 | before(async function () { |
29 | this.timeout(20000) | 28 | this.timeout(20000) |
@@ -82,8 +81,6 @@ describe('Test follows', function () { | |||
82 | expect(server3Follow).to.not.be.undefined | 81 | expect(server3Follow).to.not.be.undefined |
83 | expect(server2Follow.state).to.equal('accepted') | 82 | expect(server2Follow.state).to.equal('accepted') |
84 | expect(server3Follow.state).to.equal('accepted') | 83 | expect(server3Follow.state).to.equal('accepted') |
85 | |||
86 | server3Id = server3Follow.following.id | ||
87 | }) | 84 | }) |
88 | 85 | ||
89 | it('Should have 0 followings on server 1 and 2', async function () { | 86 | it('Should have 0 followings on server 1 and 2', async function () { |
@@ -121,7 +118,7 @@ describe('Test follows', function () { | |||
121 | it('Should unfollow server 3 on server 1', async function () { | 118 | it('Should unfollow server 3 on server 1', async function () { |
122 | this.timeout(5000) | 119 | this.timeout(5000) |
123 | 120 | ||
124 | await unfollow(servers[0].url, servers[0].accessToken, server3Id) | 121 | await unfollow(servers[0].url, servers[0].accessToken, servers[2]) |
125 | 122 | ||
126 | await wait(3000) | 123 | await wait(3000) |
127 | }) | 124 | }) |