diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-04 10:21:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-04 10:21:36 +0200 |
commit | c49db162ee3ad0acf89f4e71ac0083b30ab798ea (patch) | |
tree | 9ab877ac92cc4c341792b932b29f6c05ade668bc /server/tests/utils/videos/videos.ts | |
parent | 20760d9160e09bb4efaddffb331395f8d6c3c59d (diff) | |
download | PeerTube-c49db162ee3ad0acf89f4e71ac0083b30ab798ea.tar.gz PeerTube-c49db162ee3ad0acf89f4e71ac0083b30ab798ea.tar.zst PeerTube-c49db162ee3ad0acf89f4e71ac0083b30ab798ea.zip |
Add tests for publishedAt
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index 9bda53371..01e7fa5a1 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts | |||
@@ -427,6 +427,7 @@ async function completeVideoCheck ( | |||
427 | expect(video.isLocal).to.equal(attributes.isLocal) | 427 | expect(video.isLocal).to.equal(attributes.isLocal) |
428 | expect(video.duration).to.equal(attributes.duration) | 428 | expect(video.duration).to.equal(attributes.duration) |
429 | expect(dateIsValid(video.createdAt)).to.be.true | 429 | expect(dateIsValid(video.createdAt)).to.be.true |
430 | expect(dateIsValid(video.publishedAt)).to.be.true | ||
430 | expect(dateIsValid(video.updatedAt)).to.be.true | 431 | expect(dateIsValid(video.updatedAt)).to.be.true |
431 | 432 | ||
432 | const res = await getVideo(url, video.uuid) | 433 | const res = await getVideo(url, video.uuid) |