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:
8f68c31
)
Fix tests
author
Chocobozzz
<florian.bigard@gmail.com>
Thu, 7 Jul 2016 18:36:46 +0000
(20:36 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Thu, 7 Jul 2016 18:36:46 +0000
(20:36 +0200)
I should consider writing unit tests to test the tests
server/tests/api/singlePod.js
patch
|
blob
|
history
diff --git
a/server/tests/api/singlePod.js
b/server/tests/api/singlePod.js
index 5fcf5557f8747c52ce1144d4170b5433d385c3ef..465a86b136e7e9d719cee4b0679ce809918a9c37 100644
(file)
--- a/
server/tests/api/singlePod.js
+++ b/
server/tests/api/singlePod.js
@@
-352,7
+352,7
@@
describe('Test a single pod', function () {
const videos = res.body.data
expect(res.body.total).to.equal(6)
- expect(videos.length).to.equal(
4
)
+ expect(videos.length).to.equal(
3
)
expect(videos[0].name === videosListBase[2].name)
expect(videos[1].name === videosListBase[3].name)
expect(videos[2].name === videosListBase[4].name)