mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-27 13:16:17 +01:00
fix(api/tests/threads): re-add tests
This commit is contained in:
parent
16f4442dc2
commit
0f3280f836
1 changed files with 29 additions and 0 deletions
29
api/src/util/tests/threads.json
Normal file
29
api/src/util/tests/threads.json
Normal file
|
@ -0,0 +1,29 @@
|
|||
[
|
||||
{
|
||||
"name": "video",
|
||||
"url": "https://www.threads.net/@zuck/post/CzecNnZPaxr",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "redirect"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "photo",
|
||||
"url": "https://www.threads.net/@soren.iverson/post/C8PdJ59pMLr",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "redirect"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "mixed media",
|
||||
"url": "https://www.threads.net/@snazzahguy/post/C8Q7UZDseWz",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "picker"
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue