Fix failing tests

This commit is contained in:
zkldi
2021-09-29 00:18:43 +01:00
parent 008492e375
commit fa31395f8a
3 changed files with 6 additions and 2 deletions
@@ -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,