Fix videos stats
This commit is contained in:
parent
c0e3d9ff90
commit
6504b3bfd9
|
@ -1385,7 +1385,6 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> {
|
||||||
count: 0,
|
count: 0,
|
||||||
sort: '-publishedAt',
|
sort: '-publishedAt',
|
||||||
nsfw: null,
|
nsfw: null,
|
||||||
isLocal: true,
|
|
||||||
displayOnlyForFollower: {
|
displayOnlyForFollower: {
|
||||||
actorId: serverActor.id,
|
actorId: serverActor.id,
|
||||||
orLocalVideos: true
|
orLocalVideos: true
|
||||||
|
|
|
@ -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 () {
|
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 })
|
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 () {
|
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 })
|
await servers[0].videos.remove({ id: lastReplayUUID })
|
||||||
const { liveDetails } = await publishLiveAndBlacklist({ permanent: true, replay: true })
|
const { liveDetails } = await publishLiveAndBlacklist({ permanent: true, replay: true })
|
||||||
|
|
Loading…
Reference in New Issue
Block a user