From 2ccc2106224b61915c7b4f85c0d5b2ce8aa81d18 Mon Sep 17 00:00:00 2001 From: jj Date: Sat, 26 Oct 2024 18:07:13 +0000 Subject: [PATCH] api/test: add test for audio download if no video found tests for bug fixed in fb7325f3b2a9ebcbe60061a10bf343800cff0a90 --- api/src/util/tests.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/api/src/util/tests.json b/api/src/util/tests.json index 402a2baf..c8a1782d 100644 --- a/api/src/util/tests.json +++ b/api/src/util/tests.json @@ -486,6 +486,17 @@ "code": 400, "status": "error" } + }, + { + "name": "broken audioOnly download", + "url": "https://www.youtube.com/watch?v=ink80Al5nbw", + "params": { + "downloadMode": "audio" + }, + "expected": { + "code": 200, + "status": "tunnel" + } } ], "vk": [