diff options
Diffstat (limited to 'server/tests')
-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 | }) |