diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-09 13:36:07 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-09 13:36:07 +0100 |
commit | c4377f4b5b9f3afd6d354a433ffa78697801b540 (patch) | |
tree | dac36e2c174707fd08d1b6a6b968960ca221b4e3 /server/tests/api | |
parent | 1ab7b637ec5939f4ecd69a489057669dfd6314bb (diff) | |
download | PeerTube-c4377f4b5b9f3afd6d354a433ffa78697801b540.tar.gz PeerTube-c4377f4b5b9f3afd6d354a433ffa78697801b540.tar.zst PeerTube-c4377f4b5b9f3afd6d354a433ffa78697801b540.zip |
Fix config test
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/server/config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/server/config.ts b/server/tests/api/server/config.ts index 35a5c430b..f1f7afef9 100644 --- a/server/tests/api/server/config.ts +++ b/server/tests/api/server/config.ts | |||
@@ -51,8 +51,8 @@ describe('Test config', function () { | |||
51 | const data = res.body | 51 | const data = res.body |
52 | 52 | ||
53 | expect(data.instance.name).to.equal('PeerTube') | 53 | expect(data.instance.name).to.equal('PeerTube') |
54 | expect(data.instance.description).to.be.empty | 54 | expect(data.instance.description).to.equal('Welcome to this PeerTube instance!') |
55 | expect(data.instance.terms).to.be.empty | 55 | expect(data.instance.terms).to.equal('No terms for now.') |
56 | expect(data.cache.previews.size).to.equal(1) | 56 | expect(data.cache.previews.size).to.equal(1) |
57 | expect(data.signup.enabled).to.be.true | 57 | expect(data.signup.enabled).to.be.true |
58 | expect(data.signup.limit).to.equal(4) | 58 | expect(data.signup.limit).to.equal(4) |