diff options
Diffstat (limited to 'shared/extra-utils')
-rw-r--r-- | shared/extra-utils/videos/videos.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 ( | |||
113 | channel: { | 113 | channel: { |
114 | displayName: string | 114 | displayName: string |
115 | name: string | 115 | name: string |
116 | description | 116 | description: string |
117 | isLocal: boolean | 117 | isLocal: boolean |
118 | } | 118 | } |
119 | fixture: string | 119 | fixture: string |
@@ -151,6 +151,7 @@ async function completeVideoCheck ( | |||
151 | expect(video.dislikes).to.equal(attributes.dislikes) | 151 | expect(video.dislikes).to.equal(attributes.dislikes) |
152 | expect(video.isLocal).to.equal(attributes.isLocal) | 152 | expect(video.isLocal).to.equal(attributes.isLocal) |
153 | expect(video.duration).to.equal(attributes.duration) | 153 | expect(video.duration).to.equal(attributes.duration) |
154 | expect(video.url).to.contain(originHost) | ||
154 | expect(dateIsValid(video.createdAt)).to.be.true | 155 | expect(dateIsValid(video.createdAt)).to.be.true |
155 | expect(dateIsValid(video.publishedAt)).to.be.true | 156 | expect(dateIsValid(video.publishedAt)).to.be.true |
156 | expect(dateIsValid(video.updatedAt)).to.be.true | 157 | expect(dateIsValid(video.updatedAt)).to.be.true |