mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-02 00:16:31 +01:00
api/tests/soundcloud: add tests for region locked and paid songs
This commit is contained in:
parent
43c3294230
commit
9b0e4ab0bd
1 changed files with 19 additions and 0 deletions
|
@ -83,5 +83,24 @@
|
|||
"code": 200,
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue