]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix videos stats
authorChocobozzz <me@florianbigard.com>
Fri, 8 Jul 2022 09:51:41 +0000 (11:51 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 8 Jul 2022 09:51:41 +0000 (11:51 +0200)
server/models/video/video.ts
server/tests/api/live/live-save-replay.ts

index 4f711b2fa914b31d5b08bfe70c8b178112cdfdf4..cdc1137be3af57190e3edda95acdc8e9f591297d 100644 (file)
@@ -1385,7 +1385,6 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
       count: 0,
       sort: '-publishedAt',
       nsfw: null,
-      isLocal: true,
       displayOnlyForFollower: {
         actorId: serverActor.id,
         orLocalVideos: true
index 7ddcb04ef6bbee6c5bf4913d94ec815a049d9093..99ad3b2e1a76c216e70d5d2b57c2a553e7e5289e 100644 (file)
@@ -316,7 +316,7 @@ describe('Save replay setting', function () {
     })
 
     it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () {
-      this.timeout(40000)
+      this.timeout(120000)
 
       await publishLiveAndBlacklist({ permanent: false, replay: true })
 
@@ -412,7 +412,7 @@ describe('Save replay setting', function () {
     })
 
     it('Should correctly terminate the stream on blacklist and blacklist the saved replay video', async function () {
-      this.timeout(60000)
+      this.timeout(120000)
 
       await servers[0].videos.remove({ id: lastReplayUUID })
       const { liveDetails } = await publishLiveAndBlacklist({ permanent: true, replay: true })