Skip to content

best way to save what you love

api/tests: fix broken tests

jja918b1238749
diff --git a/api/src/util/tests/bilibili.json b/api/src/util/tests/bilibili.json
index 61d60134..c6720295 100644
--- a/api/src/util/tests/bilibili.json
+++ b/api/src/util/tests/bilibili.json
@@ -41,7 +41,7 @@
},
{
"name": "b23.tv shortlink",
- "url": "https://b23.tv/lbMyOI9",
+ "url": "https://b23.tv/av32430100",
"params": {},
"expected": {
"code": 200,
@@ -57,4 +57,4 @@
"status": "tunnel"
}
}
-]
\ No newline at end of file
+]
diff --git a/api/src/util/tests/snapchat.json b/api/src/util/tests/snapchat.json
index 44f764ce..b4298a93 100644
--- a/api/src/util/tests/snapchat.json
+++ b/api/src/util/tests/snapchat.json
@@ -19,11 +19,12 @@
},
{
"name": "story",
- "url": "https://www.snapchat.com/add/bazerkmakane",
+ "url": "https://www.snapchat.com/add/taylorred_music",
+ "canFail": true,
"params": {},
"expected": {
"code": 200,
"status": "picker"
}
}
-]
\ No newline at end of file
+]