mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Introduce user command
This commit is contained in:
parent
d0a0fa429d
commit
7926c5f9b3
85 changed files with 1011 additions and 1505 deletions
|
@ -7,7 +7,6 @@ import {
|
|||
checkBadSortPagination,
|
||||
checkBadStartPagination,
|
||||
cleanupTests,
|
||||
createUser,
|
||||
flushAndRunServer,
|
||||
makeGetRequest,
|
||||
makePostBodyRequest,
|
||||
|
@ -43,7 +42,7 @@ describe('Test server plugins API validators', function () {
|
|||
password: 'password'
|
||||
}
|
||||
|
||||
await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
|
||||
await server.usersCommand.create({ username: user.username, password: user.password })
|
||||
userAccessToken = await server.loginCommand.getAccessToken(user)
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue