aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-12 11:29:46 +0100
committerChocobozzz <me@florianbigard.com>2018-03-12 11:44:28 +0100
commit19a3b914f19812a082e2f47d31c66fb1d9771736 (patch)
tree7e60fbec3b4fff27e018682bd36c0d5e67aed228 /server/tests/utils
parentf2c3f7cd8a592ca1949e4f73717f17132a16c292 (diff)
downloadPeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.tar.gz
PeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.tar.zst
PeerTube-19a3b914f19812a082e2f47d31c66fb1d9771736.zip
Change video abuse API response
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/videos/videos.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts
index 4b57f24b5..ec40c5465 100644
--- a/server/tests/utils/videos/videos.ts
+++ b/server/tests/utils/videos/videos.ts
@@ -420,7 +420,8 @@ async function completeVideoCheck (
420 expect(videoDetails.tags).to.deep.equal(attributes.tags) 420 expect(videoDetails.tags).to.deep.equal(attributes.tags)
421 expect(videoDetails.privacy).to.deep.equal(attributes.privacy) 421 expect(videoDetails.privacy).to.deep.equal(attributes.privacy)
422 expect(videoDetails.privacyLabel).to.deep.equal(VIDEO_PRIVACIES[attributes.privacy]) 422 expect(videoDetails.privacyLabel).to.deep.equal(VIDEO_PRIVACIES[attributes.privacy])
423 expect(videoDetails.account.name).to.equal(attributes.account) 423 expect(videoDetails.account.name).to.equal(attributes.account.name)
424 expect(videoDetails.account.host).to.equal(attributes.account.host)
424 expect(videoDetails.commentsEnabled).to.equal(attributes.commentsEnabled) 425 expect(videoDetails.commentsEnabled).to.equal(attributes.commentsEnabled)
425 426
426 expect(videoDetails.channel.displayName).to.equal(attributes.channel.name) 427 expect(videoDetails.channel.displayName).to.equal(attributes.channel.name)