diff options
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index c437c21b2..dc1327215 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -383,7 +383,8 @@ async function completeVideoCheck ( | |||
383 | expect(videoDetails.account.name).to.equal(attributes.account) | 383 | expect(videoDetails.account.name).to.equal(attributes.account) |
384 | expect(videoDetails.commentsEnabled).to.equal(attributes.commentsEnabled) | 384 | expect(videoDetails.commentsEnabled).to.equal(attributes.commentsEnabled) |
385 | 385 | ||
386 | expect(videoDetails.channel.name).to.equal(attributes.channel.name) | 386 | expect(videoDetails.channel.displayName).to.equal(attributes.channel.name) |
387 | expect(videoDetails.channel.name).to.have.lengthOf(36) | ||
387 | expect(videoDetails.channel.isLocal).to.equal(attributes.channel.isLocal) | 388 | expect(videoDetails.channel.isLocal).to.equal(attributes.channel.isLocal) |
388 | expect(dateIsValid(videoDetails.channel.createdAt)).to.be.true | 389 | expect(dateIsValid(videoDetails.channel.createdAt)).to.be.true |
389 | expect(dateIsValid(videoDetails.channel.updatedAt)).to.be.true | 390 | expect(dateIsValid(videoDetails.channel.updatedAt)).to.be.true |