From 8117a1210cb6cd0e7684e15f339d059418205325 Mon Sep 17 00:00:00 2001 From: flavjyk4 <156455420+flavjyk4@users.noreply.github.com> Date: Wed, 7 Aug 2024 22:12:37 +0000 Subject: [PATCH] tests: add spotify and apple music tests --- src/util/tests.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/util/tests.json b/src/util/tests.json index ab6a1e6a..accd7c52 100644 --- a/src/util/tests.json +++ b/src/util/tests.json @@ -1132,6 +1132,24 @@ "status": "stream" } }], + "spotify": [{ + "name": "spotify track", + "url": "https://open.spotify.com/track/5dpNZESiavrMXgwkTHi1hy", + "params": {}, + "expected": { + "code": 200, + "status": "redirect" + } + }], + "apple": [{ + "name": "spotify music album", + "url": "https://music.apple.com/us/album/brat/1739079974", + "params": {}, + "expected": { + "code": 200, + "status": "redirect" + } + }], "dailymotion": [{ "name": "regular video", "url": "https://www.dailymotion.com/video/x8t1eho",