projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ab7b63
)
Fix config test
author
Chocobozzz
<me@florianbigard.com>
Fri, 9 Feb 2018 12:36:07 +0000
(13:36 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Fri, 9 Feb 2018 12:36:07 +0000
(13:36 +0100)
server/tests/api/server/config.ts
patch
|
blob
|
history
diff --git
a/server/tests/api/server/config.ts
b/server/tests/api/server/config.ts
index 35a5c430bd11103a685ee9d74d6a3fc9412a1f74..f1f7afef92fde66b7588afab418ecd10c3241d3e 100644
(file)
--- a/
server/tests/api/server/config.ts
+++ b/
server/tests/api/server/config.ts
@@
-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)