diff options
Diffstat (limited to 'server/tests/real-world/populate-database.ts')
-rw-r--r-- | server/tests/real-world/populate-database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/real-world/populate-database.ts b/server/tests/real-world/populate-database.ts index 016503498..3616127ad 100644 --- a/server/tests/real-world/populate-database.ts +++ b/server/tests/real-world/populate-database.ts | |||
@@ -78,7 +78,7 @@ function createUserCustom (server: ServerInfo) { | |||
78 | const username = Date.now().toString() + getRandomInt(0, 100000) | 78 | const username = Date.now().toString() + getRandomInt(0, 100000) |
79 | console.log('Creating user %s.', username) | 79 | console.log('Creating user %s.', username) |
80 | 80 | ||
81 | return createUser(server.url, server.accessToken, username, 'coucou') | 81 | return createUser({ url: server.url, accessToken: server.accessToken, username: username, password: 'coucou' }) |
82 | } | 82 | } |
83 | 83 | ||
84 | function uploadCustom (server: ServerInfo) { | 84 | function uploadCustom (server: ServerInfo) { |