From 022856f8a54fe8810ebb599973984fd83ee7e7ec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jul 2016 20:36:46 +0200 Subject: [PATCH] Fix tests I should consider writing unit tests to test the tests --- server/tests/api/singlePod.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { 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)