tests: fix broken links, correct expected responses (#618)

This commit is contained in:
ihatespawn 2024-07-09 15:17:09 +02:00 committed by GitHub
parent cfce04bbd0
commit bcb8ab101f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -650,23 +650,23 @@
} }
}, { }, {
"name": "1080p dash parcel", "name": "1080p dash parcel",
"url": "https://vimeo.com/774694040", "url": "https://vimeo.com/967252742",
"params": { "params": {
"vQuality": "1440" "vQuality": "1440"
}, },
"expected": { "expected": {
"code": 200, "code": 200,
"status": "stream" "status": "redirect"
} }
}, { }, {
"name": "720p dash parcel", "name": "720p dash parcel",
"url": "https://vimeo.com/774694040", "url": "https://vimeo.com/967252742",
"params": { "params": {
"vQuality": "360" "vQuality": "360"
}, },
"expected": { "expected": {
"code": 200, "code": 200,
"status": "stream" "status": "redirect"
} }
}, { }, {
"name": "private video", "name": "private video",
@ -947,7 +947,7 @@
}], }],
"streamable": [{ "streamable": [{
"name": "regular video", "name": "regular video",
"url": "https://streamable.com/03r3c2", "url": "https://streamable.com/p9cln4",
"params": {}, "params": {},
"expected": { "expected": {
"code": 200, "code": 200,
@ -963,7 +963,7 @@
} }
}, { }, {
"name": "regular video (isAudioOnly)", "name": "regular video (isAudioOnly)",
"url": "https://streamable.com/03r3c2", "url": "https://streamable.com/p9cln4",
"params": { "params": {
"isAudioOnly": true "isAudioOnly": true
}, },
@ -973,7 +973,7 @@
} }
}, { }, {
"name": "regular video (isAudioMuted)", "name": "regular video (isAudioMuted)",
"url": "https://streamable.com/03r3c2", "url": "https://streamable.com/p9cln4",
"params": { "params": {
"isAudioMuted": true "isAudioMuted": true
}, },
@ -1042,8 +1042,8 @@
"url": "https://rutube.ru/video/b521653b4f71ece57b8ff54e57ca9b82/", "url": "https://rutube.ru/video/b521653b4f71ece57b8ff54e57ca9b82/",
"params": {}, "params": {},
"expected": { "expected": {
"code": 200, "code": 400,
"status": "stream" "status": "error"
} }
}, { }, {
"name": "vertical video", "name": "vertical video",
@ -1055,7 +1055,7 @@
} }
}, { }, {
"name": "yappy", "name": "yappy",
"url": "https://rutube.ru/yappy/f1771e86294748eea8ecb2ac88e55740/", "url": "https://rutube.ru/yappy/a06b1bf53bce403b9a069107f23c47eb/",
"params": {}, "params": {},
"expected": { "expected": {
"code": 200, "code": 200,
@ -1157,8 +1157,8 @@
"isAudioOnly": true "isAudioOnly": true
}, },
"expected": { "expected": {
"code": 200, "code": 400,
"status": "stream" "status": "error"
} }
}] }]
} }