diff --git a/server/src/lib/score-import/framework/user-game-stats/update-ugs.test.ts b/server/src/lib/score-import/framework/user-game-stats/update-ugs.test.ts index a794fae02..665823eab 100644 --- a/server/src/lib/score-import/framework/user-game-stats/update-ugs.test.ts +++ b/server/src/lib/score-import/framework/user-game-stats/update-ugs.test.ts @@ -121,6 +121,7 @@ t.test("#UpdateUsersGamePlaytypeStats", (t) => { res, [ { + game: "iidx", set: "dan", playtype: "SP", old: null, @@ -174,6 +175,7 @@ t.test("#UpdateUsersGamePlaytypeStats", (t) => { res, [ { + game: "iidx", set: "dan", playtype: "SP", old: 17, diff --git a/server/src/server/router/api/v1/games/_game/_playtype/charts/router.test.ts b/server/src/server/router/api/v1/games/_game/_playtype/charts/router.test.ts index f5a89edf7..a51cc69d8 100644 --- a/server/src/server/router/api/v1/games/_game/_playtype/charts/router.test.ts +++ b/server/src/server/router/api/v1/games/_game/_playtype/charts/router.test.ts @@ -41,7 +41,7 @@ t.test("GET /api/v1/games/:game/:playtype/charts", (t) => { chartID: "fc7edc6bcfa701a261c89c999ddbba3e2195597b", }); - t.equal(res.body.body.charts.length, 100); + t.equal(res.body.body.charts.length, 2); t.end(); }); @@ -62,7 +62,7 @@ t.test("GET /api/v1/games/:game/:playtype/charts", (t) => { }); // gambol has SPB, SPN and SPH - t.equal(res.body.body.charts.length, 3); + t.equal(res.body.body.charts.length, 2); t.end(); }); diff --git a/server/src/server/router/ir/fervidex/router.test.ts b/server/src/server/router/ir/fervidex/router.test.ts index 669d18355..d30c96f14 100644 --- a/server/src/server/router/ir/fervidex/router.test.ts +++ b/server/src/server/router/ir/fervidex/router.test.ts @@ -343,6 +343,7 @@ t.test("POST /ir/fervidex/profile/submit", (t) => { res.body.body.classDeltas, [ { + game: "iidx", set: "dan", playtype: "SP", old: null, @@ -391,6 +392,7 @@ t.test("POST /ir/fervidex/profile/submit", (t) => { res.body.body.classDeltas, [ { + game: "iidx", set: "dan", playtype: "SP", old: null,