diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-07 20:36:46 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-07 20:36:46 +0200 |
commit | 022856f8a54fe8810ebb599973984fd83ee7e7ec (patch) | |
tree | 0c38e13f2c7aa1de57f0d97d45eaf12f03b87b63 /server | |
parent | 8f68c31a711e036dee3bc321ae4cfc4cf53f7258 (diff) | |
download | PeerTube-022856f8a54fe8810ebb599973984fd83ee7e7ec.tar.gz PeerTube-022856f8a54fe8810ebb599973984fd83ee7e7ec.tar.zst PeerTube-022856f8a54fe8810ebb599973984fd83ee7e7ec.zip |
Fix tests
I should consider writing unit tests to test the tests
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/singlePod.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/singlePod.js b/server/tests/api/singlePod.js index 5fcf5557f..465a86b13 100644 --- a/server/tests/api/singlePod.js +++ b/server/tests/api/singlePod.js | |||
@@ -352,7 +352,7 @@ describe('Test a single pod', function () { | |||
352 | 352 | ||
353 | const videos = res.body.data | 353 | const videos = res.body.data |
354 | expect(res.body.total).to.equal(6) | 354 | expect(res.body.total).to.equal(6) |
355 | expect(videos.length).to.equal(4) | 355 | expect(videos.length).to.equal(3) |
356 | expect(videos[0].name === videosListBase[2].name) | 356 | expect(videos[0].name === videosListBase[2].name) |
357 | expect(videos[1].name === videosListBase[3].name) | 357 | expect(videos[1].name === videosListBase[3].name) |
358 | expect(videos[2].name === videosListBase[4].name) | 358 | expect(videos[2].name === videosListBase[4].name) |