aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-nsfw.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-nsfw.ts')
-rw-r--r--server/tests/api/videos/video-nsfw.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-nsfw.ts b/server/tests/api/videos/video-nsfw.ts
index 99ea67a0f..34713025d 100644
--- a/server/tests/api/videos/video-nsfw.ts
+++ b/server/tests/api/videos/video-nsfw.ts
@@ -136,7 +136,7 @@ describe('Test video NSFW policy', function () {
136 it('Should create a user having the default nsfw policy', async function () { 136 it('Should create a user having the default nsfw policy', async function () {
137 const username = 'user1' 137 const username = 'user1'
138 const password = 'my super password' 138 const password = 'my super password'
139 await server.users.create({ username: username, password: password }) 139 await server.users.create({ username, password })
140 140
141 userAccessToken = await server.login.getAccessToken({ username, password }) 141 userAccessToken = await server.login.getAccessToken({ username, password })
142 142