From 7bf2fb5fef5f0f46e8e6c218f8974d9b669c0900 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Sun, 26 Nov 2023 16:10:06 -0500 Subject: [PATCH] Updated VOD url --- backend/test/tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/test/tests.js b/backend/test/tests.js index e12720e..d2ad7a5 100644 --- a/backend/test/tests.js +++ b/backend/test/tests.js @@ -603,7 +603,7 @@ describe('Downloader', function() { }); describe('Twitch', async function () { const twitch_api = require('../twitch'); - const example_vod = '1710641401'; + const example_vod = '1790315420'; it('Download VOD chat', async function() { this.timeout(300000); if (!fs.existsSync('TwitchDownloaderCLI')) { @@ -786,7 +786,7 @@ describe('Tasks', function() { const success = await generateEmptyVideoFile('test/sample_mp4.mp4'); // pre-test cleanup - await db_api.removeAllRecords('files', {title: 'Sample File'}); + await db_api.removeAllRecords('files', {path: 'test/missing_file.mp4'}); if (fs.existsSync('video/sample_mp4.info.json')) fs.unlinkSync('video/sample_mp4.info.json'); if (fs.existsSync('video/sample_mp4.mp4')) fs.unlinkSync('video/sample_mp4.mp4');