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.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index a47713bf0..01b4c2eab 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -622,6 +622,13 @@ describe('Test users', function () {
622 } 622 }
623 }) 623 })
624 624
625 it('Should still have the same amount of videos in my account', async function () {
626 const { total, data } = await server.videos.listMyVideos({ token: userToken })
627
628 expect(total).to.equal(2)
629 expect(data).to.have.lengthOf(2)
630 })
631
625 it('Should be able to update my display name', async function () { 632 it('Should be able to update my display name', async function () {
626 await server.users.updateMe({ token: userToken, displayName: 'new display name' }) 633 await server.users.updateMe({ token: userToken, displayName: 'new display name' })
627 634