Fix config test
authorChocobozzz <me@florianbigard.com>
Fri, 9 Feb 2018 12:36:07 +0000 (13:36 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 9 Feb 2018 12:36:07 +0000 (13:36 +0100)
server/tests/api/server/config.ts

index 35a5c430bd11103a685ee9d74d6a3fc9412a1f74..f1f7afef92fde66b7588afab418ecd10c3241d3e 100644 (file)
@@ -51,8 +51,8 @@ describe('Test config', function () {
     const data = res.body
 
     expect(data.instance.name).to.equal('PeerTube')
-    expect(data.instance.description).to.be.empty
-    expect(data.instance.terms).to.be.empty
+    expect(data.instance.description).to.equal('Welcome to this PeerTube instance!')
+    expect(data.instance.terms).to.equal('No terms for now.')
     expect(data.cache.previews.size).to.equal(1)
     expect(data.signup.enabled).to.be.true
     expect(data.signup.limit).to.equal(4)