aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/single-server.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/single-server.ts b/server/tests/api/single-server.ts
index 11080085d..40e2c64fe 100644
--- a/server/tests/api/single-server.ts
+++ b/server/tests/api/single-server.ts
@@ -605,7 +605,7 @@ describe('Test a single server', function () {
605 expect(video.serverHost).to.equal('localhost:9001') 605 expect(video.serverHost).to.equal('localhost:9001')
606 expect(video.account).to.equal('root') 606 expect(video.account).to.equal('root')
607 expect(video.isLocal).to.be.true 607 expect(video.isLocal).to.be.true
608 expect(video.tags).to.deep.equal([ 'tag1', 'tag2', 'supertag' ]) 608 expect(video.tags).to.deep.equal([ 'supertag', 'tag1', 'tag2' ])
609 expect(dateIsValid(video.createdAt)).to.be.true 609 expect(dateIsValid(video.createdAt)).to.be.true
610 expect(dateIsValid(video.updatedAt)).to.be.true 610 expect(dateIsValid(video.updatedAt)).to.be.true
611 611
@@ -645,7 +645,7 @@ describe('Test a single server', function () {
645 expect(video.serverHost).to.equal('localhost:9001') 645 expect(video.serverHost).to.equal('localhost:9001')
646 expect(video.account).to.equal('root') 646 expect(video.account).to.equal('root')
647 expect(video.isLocal).to.be.true 647 expect(video.isLocal).to.be.true
648 expect(video.tags).to.deep.equal([ 'tag1', 'tag2', 'supertag' ]) 648 expect(video.tags).to.deep.equal([ 'supertag', 'tag1', 'tag2' ])
649 expect(dateIsValid(video.createdAt)).to.be.true 649 expect(dateIsValid(video.createdAt)).to.be.true
650 expect(dateIsValid(video.updatedAt)).to.be.true 650 expect(dateIsValid(video.updatedAt)).to.be.true
651 651