aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r--server/tests/client.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index be7ce18b4..60df878d7 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -11,7 +11,6 @@ import {
11 createVideoPlaylist, 11 createVideoPlaylist,
12 doubleFollow, 12 doubleFollow,
13 flushAndRunMultipleServers, 13 flushAndRunMultipleServers,
14 getAccount,
15 getVideosList, 14 getVideosList,
16 makeGetRequest, 15 makeGetRequest,
17 makeHTMLRequest, 16 makeHTMLRequest,
@@ -105,8 +104,7 @@ describe('Test a client controllers', function () {
105 104
106 await updateMyUser({ url: servers[0].url, accessToken: servers[0].accessToken, description: 'my account description' }) 105 await updateMyUser({ url: servers[0].url, accessToken: servers[0].accessToken, description: 'my account description' })
107 106
108 const resAccountRequest = await getAccount(servers[0].url, `${servers[0].user.username}@${servers[0].host}`) 107 account = await servers[0].accountsCommand.get({ accountName: `${servers[0].user.username}@${servers[0].host}` })
109 account = resAccountRequest.body
110 108
111 await waitJobs(servers) 109 await waitJobs(servers)
112 }) 110 })