diff options
Diffstat (limited to 'server/tests/api/check-params/logs.ts')
-rw-r--r-- | server/tests/api/check-params/logs.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/check-params/logs.ts b/server/tests/api/check-params/logs.ts index 83ecfec93..69eaad69f 100644 --- a/server/tests/api/check-params/logs.ts +++ b/server/tests/api/check-params/logs.ts | |||
@@ -4,7 +4,6 @@ import 'mocha' | |||
4 | 4 | ||
5 | import { | 5 | import { |
6 | cleanupTests, | 6 | cleanupTests, |
7 | createUser, | ||
8 | flushAndRunServer, | 7 | flushAndRunServer, |
9 | ServerInfo, | 8 | ServerInfo, |
10 | setAccessTokensToServers | 9 | setAccessTokensToServers |
@@ -30,7 +29,7 @@ describe('Test logs API validators', function () { | |||
30 | username: 'user1', | 29 | username: 'user1', |
31 | password: 'my super password' | 30 | password: 'my super password' |
32 | } | 31 | } |
33 | await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) | 32 | await server.usersCommand.create({ username: user.username, password: user.password }) |
34 | userAccessToken = await server.loginCommand.getAccessToken(user) | 33 | userAccessToken = await server.loginCommand.getAccessToken(user) |
35 | }) | 34 | }) |
36 | 35 | ||