mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-09 23:08:29 +00:00
api/tests: create duitang tests
This commit is contained in:
parent
4b5bf5e556
commit
0baa7a5c77
37
api/src/util/tests/duitang.json
Normal file
37
api/src/util/tests/duitang.json
Normal file
@ -0,0 +1,37 @@
|
||||
[
|
||||
{
|
||||
"name": "regular album",
|
||||
"url": "https://www.duitang.com/atlas/?id=135382417",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "picker"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "single image",
|
||||
"url": "https://www.duitang.com/blog/?id=1517805784",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "picker"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "single image, mobile link",
|
||||
"url": "https://m.duitang.com/blog/?id=1517805784",
|
||||
"params": {},
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "picker"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "regular album, mobile link",
|
||||
"url": "https://m.duitang.com/atlas/?id=135382417",
|
||||
"expected": {
|
||||
"code": 200,
|
||||
"status": "picker"
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user