Skip to content

best way to save what you love

api/tests/rutube: add a region locked video test

wukkocdd349cfb69d
diff --git a/api/src/util/tests/rutube.json b/api/src/util/tests/rutube.json
index 967c52fb..2eaf69bf 100644
--- a/api/src/util/tests/rutube.json
+++ b/api/src/util/tests/rutube.json
@@ -86,5 +86,15 @@
"code": 200,
"status": "tunnel"
}
+ },
+ {
+ "name": "region locked video, should fail",
+ "canFail": true,
+ "url": "https://rutube.ru/video/e7ac82708cc22bd068a3bf6a7004d1b1/",
+ "params": {},
+ "expected": {
+ "code": 400,
+ "status": "error"
+ }
}
]
\ No newline at end of file