diff options
Diffstat (limited to 'server/tests/api/check-params/bulk.ts')
-rw-r--r-- | server/tests/api/check-params/bulk.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/check-params/bulk.ts b/server/tests/api/check-params/bulk.ts index 85520b3bd..3f80c79a8 100644 --- a/server/tests/api/check-params/bulk.ts +++ b/server/tests/api/check-params/bulk.ts | |||
@@ -3,7 +3,6 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { | 4 | import { |
5 | cleanupTests, | 5 | cleanupTests, |
6 | createUser, | ||
7 | flushAndRunServer, | 6 | flushAndRunServer, |
8 | ServerInfo, | 7 | ServerInfo, |
9 | setAccessTokensToServers | 8 | setAccessTokensToServers |
@@ -24,7 +23,7 @@ describe('Test bulk API validators', function () { | |||
24 | await setAccessTokensToServers([ server ]) | 23 | await setAccessTokensToServers([ server ]) |
25 | 24 | ||
26 | const user = { username: 'user1', password: 'password' } | 25 | const user = { username: 'user1', password: 'password' } |
27 | await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) | 26 | await server.usersCommand.create({ username: user.username, password: user.password }) |
28 | 27 | ||
29 | userAccessToken = await server.loginCommand.getAccessToken(user) | 28 | userAccessToken = await server.loginCommand.getAccessToken(user) |
30 | }) | 29 | }) |