diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:04:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 89d241a79c262b9775c233b73cff080043ebb5e6 (patch) | |
tree | cb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/check-params/custom-pages.ts | |
parent | d23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff) | |
download | PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip |
Shorter server command names
Diffstat (limited to 'server/tests/api/check-params/custom-pages.ts')
-rw-r--r-- | server/tests/api/check-params/custom-pages.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/custom-pages.ts b/server/tests/api/check-params/custom-pages.ts index 58b0b8600..3d84fb3e6 100644 --- a/server/tests/api/check-params/custom-pages.ts +++ b/server/tests/api/check-params/custom-pages.ts | |||
@@ -25,9 +25,9 @@ describe('Test custom pages validators', function () { | |||
25 | await setAccessTokensToServers([ server ]) | 25 | await setAccessTokensToServers([ server ]) |
26 | 26 | ||
27 | const user = { username: 'user1', password: 'password' } | 27 | const user = { username: 'user1', password: 'password' } |
28 | await server.usersCommand.create({ username: user.username, password: user.password }) | 28 | await server.users.create({ username: user.username, password: user.password }) |
29 | 29 | ||
30 | userAccessToken = await server.loginCommand.getAccessToken(user) | 30 | userAccessToken = await server.login.getAccessToken(user) |
31 | }) | 31 | }) |
32 | 32 | ||
33 | describe('When updating instance homepage', function () { | 33 | describe('When updating instance homepage', function () { |