aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/videos/videos.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-25 14:32:19 +0200
committerChocobozzz <me@florianbigard.com>2018-04-25 14:32:19 +0200
commit03e12d7c4954e1071fdeb7ef362ea5c3965d4075 (patch)
treee77e8e6dbf1ee2fcc1644600af5cc404d685083c /server/tests/utils/videos/videos.ts
parent6b738c7a31591a83fdcd9c78b6b1f98e543c378b (diff)
downloadPeerTube-03e12d7c4954e1071fdeb7ef362ea5c3965d4075.tar.gz
PeerTube-03e12d7c4954e1071fdeb7ef362ea5c3965d4075.tar.zst
PeerTube-03e12d7c4954e1071fdeb7ef362ea5c3965d4075.zip
Add account link in videos list
Diffstat (limited to 'server/tests/utils/videos/videos.ts')
-rw-r--r--server/tests/utils/videos/videos.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts
index 2ba3a860b..d1d8c07df 100644
--- a/server/tests/utils/videos/videos.ts
+++ b/server/tests/utils/videos/videos.ts
@@ -486,6 +486,8 @@ async function completeVideoCheck (
486 expect(video.privacy.label).to.deep.equal(VIDEO_PRIVACIES[attributes.privacy]) 486 expect(video.privacy.label).to.deep.equal(VIDEO_PRIVACIES[attributes.privacy])
487 expect(video.nsfw).to.equal(attributes.nsfw) 487 expect(video.nsfw).to.equal(attributes.nsfw)
488 expect(video.description).to.equal(attributes.description) 488 expect(video.description).to.equal(attributes.description)
489 expect(video.account.id).to.be.a('number')
490 expect(video.account.uuid).to.be.a('string')
489 expect(video.account.host).to.equal(attributes.account.host) 491 expect(video.account.host).to.equal(attributes.account.host)
490 expect(video.account.name).to.equal(attributes.account.name) 492 expect(video.account.name).to.equal(attributes.account.name)
491 expect(video.likes).to.equal(attributes.likes) 493 expect(video.likes).to.equal(attributes.likes)