diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-07 13:38:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:17 +0200 |
commit | 9fff08cf83f34339df7ed4ac770e1dee536adf9d (patch) | |
tree | 36eac5147a12ae257a3e8aaeffae37c9aed23d0a /server/tests/client.ts | |
parent | 87e2635a50ac2decb1c330e55c2ff7b6d07a85de (diff) | |
download | PeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.tar.gz PeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.tar.zst PeerTube-9fff08cf83f34339df7ed4ac770e1dee536adf9d.zip |
Introduce accounts command
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r-- | server/tests/client.ts | 4 |
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 | }) |