diff options
Diffstat (limited to 'server/tests/api/videos/video-privacy.ts')
-rw-r--r-- | server/tests/api/videos/video-privacy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-privacy.ts b/server/tests/api/videos/video-privacy.ts index 0b4e66369..e1b5fb193 100644 --- a/server/tests/api/videos/video-privacy.ts +++ b/server/tests/api/videos/video-privacy.ts | |||
@@ -78,7 +78,7 @@ describe('Test video privacy', function () { | |||
78 | username: 'hello', | 78 | username: 'hello', |
79 | password: 'super password' | 79 | password: 'super password' |
80 | } | 80 | } |
81 | await createUser(servers[0].url, servers[0].accessToken, user.username, user.password) | 81 | await createUser({ url: servers[ 0 ].url, accessToken: servers[ 0 ].accessToken, username: user.username, password: user.password }) |
82 | 82 | ||
83 | const token = await userLogin(servers[0], user) | 83 | const token = await userLogin(servers[0], user) |
84 | await getVideoWithToken(servers[0].url, token, privateVideoUUID, 403) | 84 | await getVideoWithToken(servers[0].url, token, privateVideoUUID, 403) |