]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/users/users.ts
Merge branch 'release/4.2.0' into develop
[github/Chocobozzz/PeerTube.git] / server / tests / api / users / users.ts
index a47713bf02fb1d6c8a6bc60dff435aa6669bafd9..01b4c2eab1872f8bde89e31a4e6444ad0ce57e4c 100644 (file)
@@ -622,6 +622,13 @@ describe('Test users', function () {
       }
     })
 
+    it('Should still have the same amount of videos in my account', async function () {
+      const { total, data } = await server.videos.listMyVideos({ token: userToken })
+
+      expect(total).to.equal(2)
+      expect(data).to.have.lengthOf(2)
+    })
+
     it('Should be able to update my display name', async function () {
       await server.users.updateMe({ token: userToken, displayName: 'new display name' })