diff options
Diffstat (limited to 'server/tests/api/server/handle-down.ts')
-rw-r--r-- | server/tests/api/server/handle-down.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts index 19010dbc1..9a8bc08f9 100644 --- a/server/tests/api/server/handle-down.ts +++ b/server/tests/api/server/handle-down.ts | |||
@@ -70,7 +70,7 @@ describe('Test handle downs', function () { | |||
70 | support: 'my super support text for server 1', | 70 | support: 'my super support text for server 1', |
71 | account: { | 71 | account: { |
72 | name: 'root', | 72 | name: 'root', |
73 | host: 'localhost:9001' | 73 | host: 'localhost:' + servers[0].port |
74 | }, | 74 | }, |
75 | isLocal: false, | 75 | isLocal: false, |
76 | duration: 10, | 76 | duration: 10, |
@@ -172,7 +172,7 @@ describe('Test handle downs', function () { | |||
172 | const res = await getFollowersListPaginationAndSort(servers[0].url, 0, 2, 'createdAt') | 172 | const res = await getFollowersListPaginationAndSort(servers[0].url, 0, 2, 'createdAt') |
173 | expect(res.body.data).to.be.an('array') | 173 | expect(res.body.data).to.be.an('array') |
174 | expect(res.body.data).to.have.lengthOf(1) | 174 | expect(res.body.data).to.have.lengthOf(1) |
175 | expect(res.body.data[0].follower.host).to.equal('localhost:9003') | 175 | expect(res.body.data[0].follower.host).to.equal('localhost:' + servers[2].port) |
176 | }) | 176 | }) |
177 | 177 | ||
178 | it('Should not have pending/processing jobs anymore', async function () { | 178 | it('Should not have pending/processing jobs anymore', async function () { |