api/tests/soundcloud: add tests for region locked and paid songs

This commit is contained in:
wukko 2024-11-24 18:35:32 +06:00
parent 43c3294230
commit 9b0e4ab0bd
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -83,5 +83,24 @@
"code": 200, "code": 200,
"status": "tunnel" "status": "tunnel"
} }
},
{
"name": "go+ song, should fail",
"url": "https://soundcloud.com/dualipa/illusion-1",
"params": {},
"expected": {
"code": 400,
"status": "error"
}
},
{
"name": "region locked song, should fail",
"canFail": true,
"url": "https://soundcloud.com/gotye/somebody-2024-feat-kimbra",
"params": {},
"expected": {
"code": 400,
"status": "error"
}
} }
] ]