From 6b6da13ba7c29d81bc012a8d03eca0ff21c17a71 Mon Sep 17 00:00:00 2001 From: Kylart Date: Fri, 17 Nov 2017 14:09:23 +0100 Subject: [PATCH] Fixed tests? --- test/server.test.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/server.test.js b/test/server.test.js index d78e0ae..111f70f 100644 --- a/test/server.test.js +++ b/test/server.test.js @@ -126,15 +126,15 @@ test('/getLatest.json exits and returns 18 elements with right keys at 720p', as } }) -test('/download Mahou Shoujo Ikusei Keikaku with HorribleSubs at 720p on nyaa.si exits and returns all' + - ' magnets', async t => { +test('/download Mahou Shoujo Ikusei Keikaku with HorribleSubs at 720p on nyaa.pantsu.cat exits and returns' + + ' all magnets', async t => { const { data, status } = await axios.post(`${uri}/download`, { name: 'Mahou Shoujo Ikusei Keikaku', quality: '720p', fromEp: 0, untilEp: 20000, fansub: 'HorribleSubs', - choice: 'si' + choice: 'pantsu' }) if (status === 200) { @@ -145,15 +145,15 @@ test('/download Mahou Shoujo Ikusei Keikaku with HorribleSubs at 720p on nyaa.si } }) -test('/download Mahou Shoujo Ikusei Keikaku with HorribleSubs at 720p on nyaa.pantsu.cat exits and returns' + - ' all magnets', async t => { +test('/download Mahou Shoujo Ikusei Keikaku with HorribleSubs at 720p on nyaa.si exits and returns all' + + ' magnets', async t => { const { data, status } = await axios.post(`${uri}/download`, { name: 'Mahou Shoujo Ikusei Keikaku', quality: '720p', fromEp: 0, untilEp: 20000, fansub: 'HorribleSubs', - choice: 'pantsu' + choice: 'si' }) if (status === 200) {