diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-20 09:43:39 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 54141398354e6e7b94aa3065a705a1251390111c (patch) | |
tree | 8d30d1b9ea8acbe04f6d404125b04fc0c9897b70 /server/tests/api | |
parent | eb8b27c93e61a896a08923dc1ca3c87ba8cf4948 (diff) | |
download | PeerTube-54141398354e6e7b94aa3065a705a1251390111c.tar.gz PeerTube-54141398354e6e7b94aa3065a705a1251390111c.tar.zst PeerTube-54141398354e6e7b94aa3065a705a1251390111c.zip |
Refractor activity pub lib/helpers
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/multiple-servers.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/multiple-servers.ts b/server/tests/api/multiple-servers.ts index b6a57ab6d..cdbd24f56 100644 --- a/server/tests/api/multiple-servers.ts +++ b/server/tests/api/multiple-servers.ts | |||
@@ -316,7 +316,7 @@ describe('Test multiple servers', function () { | |||
316 | expect(video1.serverHost).to.equal('localhost:9003') | 316 | expect(video1.serverHost).to.equal('localhost:9003') |
317 | expect(video1.duration).to.equal(5) | 317 | expect(video1.duration).to.equal(5) |
318 | expect(video1.tags).to.deep.equal([ 'tag1p3' ]) | 318 | expect(video1.tags).to.deep.equal([ 'tag1p3' ]) |
319 | expect(video1.author).to.equal('root') | 319 | expect(video1.account).to.equal('root') |
320 | expect(dateIsValid(video1.createdAt)).to.be.true | 320 | expect(dateIsValid(video1.createdAt)).to.be.true |
321 | expect(dateIsValid(video1.updatedAt)).to.be.true | 321 | expect(dateIsValid(video1.updatedAt)).to.be.true |
322 | 322 | ||
@@ -342,7 +342,7 @@ describe('Test multiple servers', function () { | |||
342 | expect(video2.serverHost).to.equal('localhost:9003') | 342 | expect(video2.serverHost).to.equal('localhost:9003') |
343 | expect(video2.duration).to.equal(5) | 343 | expect(video2.duration).to.equal(5) |
344 | expect(video2.tags).to.deep.equal([ 'tag2p3', 'tag3p3', 'tag4p3' ]) | 344 | expect(video2.tags).to.deep.equal([ 'tag2p3', 'tag3p3', 'tag4p3' ]) |
345 | expect(video2.author).to.equal('root') | 345 | expect(video2.account).to.equal('root') |
346 | expect(dateIsValid(video2.createdAt)).to.be.true | 346 | expect(dateIsValid(video2.createdAt)).to.be.true |
347 | expect(dateIsValid(video2.updatedAt)).to.be.true | 347 | expect(dateIsValid(video2.updatedAt)).to.be.true |
348 | 348 | ||
@@ -690,7 +690,7 @@ describe('Test multiple servers', function () { | |||
690 | expect(baseVideo.licence).to.equal(video.licence) | 690 | expect(baseVideo.licence).to.equal(video.licence) |
691 | expect(baseVideo.category).to.equal(video.category) | 691 | expect(baseVideo.category).to.equal(video.category) |
692 | expect(baseVideo.nsfw).to.equal(video.nsfw) | 692 | expect(baseVideo.nsfw).to.equal(video.nsfw) |
693 | expect(baseVideo.author).to.equal(video.account) | 693 | expect(baseVideo.account).to.equal(video.account) |
694 | expect(baseVideo.tags).to.deep.equal(video.tags) | 694 | expect(baseVideo.tags).to.deep.equal(video.tags) |
695 | } | 695 | } |
696 | }) | 696 | }) |