diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-24 15:00:10 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:53 +0100 |
commit | df1966c9b48fd3cb3e0ec227bac97065d0122d78 (patch) | |
tree | f871765ae33f03c5ad803c34782294b7d6f97c7c /server/tests | |
parent | 652b30564c41b6ad1a42568a5792cb58d00cd10d (diff) | |
download | PeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.tar.gz PeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.tar.zst PeerTube-df1966c9b48fd3cb3e0ec227bac97065d0122d78.zip |
Fix lint
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/single-server.ts | 4 |
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 | ||