X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fextra-utils%2Fvideos%2Fvideos.ts;h=4d2784dde8393178de858742a33df8450ec61f6c;hb=5678353d4fb0ddd8bea044868576ee02cdbabedb;hp=a1d2ba0fc14fdde45a37da288399ed751dbf8dd4;hpb=421ff4618da64f0849353383f690a014024c40da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index a1d2ba0fc..4d2784dde 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts @@ -113,7 +113,7 @@ async function completeVideoCheck ( channel: { displayName: string name: string - description + description: string isLocal: boolean } fixture: string @@ -151,6 +151,7 @@ async function completeVideoCheck ( expect(video.dislikes).to.equal(attributes.dislikes) expect(video.isLocal).to.equal(attributes.isLocal) expect(video.duration).to.equal(attributes.duration) + expect(video.url).to.contain(originHost) expect(dateIsValid(video.createdAt)).to.be.true expect(dateIsValid(video.publishedAt)).to.be.true expect(dateIsValid(video.updatedAt)).to.be.true