]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/users/users.ts
Fix removed sha segments on fast restream
[github/Chocobozzz/PeerTube.git] / server / tests / api / users / users.ts
index a47713bf02fb1d6c8a6bc60dff435aa6669bafd9..d15daeba5097de6b0332521c483ff7127e0e0997 100644 (file)
@@ -380,7 +380,7 @@ describe('Test users', function () {
     })
 
     it('Should disable webtorrent, enable HLS, and update my quota', async function () {
-      this.timeout(60000)
+      this.timeout(160000)
 
       {
         const config = await server.config.getCustomConfig()
@@ -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' })