mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-28 01:48:11 +03:00
Fix failing tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user