mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 04:48:15 +03:00
Update invalid URLs
This commit is contained in:
@@ -13,13 +13,13 @@ t.test("#ParseArcIIDX", (t) => {
|
||||
t.beforeEach(ResetDBState);
|
||||
|
||||
const mockArcAPI = MockJSONFetch({
|
||||
"https://arc.example.com/api/v1/iidx/28/player_bests?profile_id=profile": {
|
||||
"https://arc.example.com/api/v1/iidx/28/player_bests/?profile_id=profile": {
|
||||
_links: {
|
||||
_next: "https://arc.example.com/api/v1/iidx/28/player_bests?profile_id=profile&page=2",
|
||||
_next: "https://arc.example.com/api/v1/iidx/28/player_bests/?profile_id=profile&page=2",
|
||||
},
|
||||
_items: [1, 2, 3],
|
||||
},
|
||||
"https://arc.example.com/api/v1/iidx/28/player_bests?profile_id=profile&page=2": {
|
||||
"https://arc.example.com/api/v1/iidx/28/player_bests/?profile_id=profile&page=2": {
|
||||
_links: {
|
||||
_next: null,
|
||||
},
|
||||
|
||||
@@ -11,13 +11,13 @@ const logger = CreateLogCtx(__filename);
|
||||
t.test("#ParseArcSDVX", (t) => {
|
||||
t.beforeEach(ResetDBState);
|
||||
const mockArcAPI = MockJSONFetch({
|
||||
"https://arc.example.com/api/v1/sdvx/5/player_bests?profile_id=profile": {
|
||||
"https://arc.example.com/api/v1/sdvx/5/player_bests/?profile_id=profile": {
|
||||
_links: {
|
||||
_next: "https://arc.example.com/api/v1/sdvx/5/player_bests?profile_id=profile&page=2",
|
||||
_next: "https://arc.example.com/api/v1/sdvx/5/player_bests/?profile_id=profile&page=2",
|
||||
},
|
||||
_items: [1, 2, 3],
|
||||
},
|
||||
"https://arc.example.com/api/v1/sdvx/5/player_bests?profile_id=profile&page=2": {
|
||||
"https://arc.example.com/api/v1/sdvx/5/player_bests/?profile_id=profile&page=2": {
|
||||
_links: {
|
||||
_next: null,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user