aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r--server/tests/api/users/users.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 95b1bb626..ca06942e7 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -481,6 +481,19 @@ describe('Test users', function () {
481 expect(user.autoPlayVideo).to.be.false 481 expect(user.autoPlayVideo).to.be.false
482 }) 482 })
483 483
484 it('Should be able to change the autoPlayNextVideo attribute', async function () {
485 await updateMyUser({
486 url: server.url,
487 accessToken: accessTokenUser,
488 autoPlayNextVideo: true
489 })
490
491 const res = await getMyUserInformation(server.url, accessTokenUser)
492 const user = res.body
493
494 expect(user.autoPlayNextVideo).to.be.true
495 })
496
484 it('Should be able to change the email attribute', async function () { 497 it('Should be able to change the email attribute', async function () {
485 await updateMyUser({ 498 await updateMyUser({
486 url: server.url, 499 url: server.url,