From fd31af8a260e56416548c9e04554c40a97c05efd Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Thu, 16 May 2019 19:46:08 +0200 Subject: [PATCH] test: update --- test/getInfo.js | 8 ++++---- test/playlist.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/getInfo.js b/test/getInfo.js index af41562..e65b0aa 100644 --- a/test/getInfo.js +++ b/test/getInfo.js @@ -108,7 +108,7 @@ vows assert.equal(info.length, 2) assert.equal(info[0].id, '90AiXO1pAiA') - assert.equal(info[0].format_id, '18') + assert.equal(info[0].format_id, '43') assert.equal(info[0].title, 'lol') assert.isString(info[0].url) assert.isString(info[0].thumbnail) @@ -118,10 +118,10 @@ vows 'Filmed in 2003 before Youtube was invented. ' + 'This is also the original I find it hilarious that there are copycat videos!' ) - assert.equal(info[0]._filename, 'lol-90AiXO1pAiA.mp4') - assert.equal(info[0].width, 480) + assert.equal(info[0]._filename, 'lol-90AiXO1pAiA.webm') + assert.equal(info[0].width, 640) assert.equal(info[0].height, 360) - assert.equal(info[0].format, '18 - 480x360 (medium)') + assert.equal(info[0].format, '43 - 640x360 (medium)') assert.equal(info[0]._duration_raw, 11) assert.equal(info[0]._duration_hms, '00:00:11') assert.equal(info[0].duration, '11') diff --git a/test/playlist.js b/test/playlist.js index 0227ca8..552e211 100644 --- a/test/playlist.js +++ b/test/playlist.js @@ -70,7 +70,7 @@ vows assert.equal(data[1].progress, 1) assert.equal( data[1].data._filename, - 'LA REGAÑADA DEL MILENIO.wmv-SITuxqDUjPI.mp4' + 'LA REGAÑADA DEL MILENIO.wmv-SITuxqDUjPI.webm' ) function fileExists (data) {