Skip to content

best way to save what you love

api/tests/tiktok: add an age restricted video test

wukkoe2f01234188c
diff --git a/api/src/util/tests/tiktok.json b/api/src/util/tests/tiktok.json
index d23c0acc..c8dbce8c 100644
--- a/api/src/util/tests/tiktok.json
+++ b/api/src/util/tests/tiktok.json
@@ -34,5 +34,14 @@
"code": 400,
"status": "error"
}
+ },
+ {
+ "name": "age restricted video",
+ "url": "https://www.tiktok.com/@.kyle.films/video/7415757181145877793",
+ "params": {},
+ "expected": {
+ "code": 400,
+ "status": "error"
+ }
}
]
\ No newline at end of file