Skip to content

Commit

Permalink
Merge pull request #222 from getbraincloud/BCLOUD-9004_Implement-Lead…
Browse files Browse the repository at this point in the history
…erboardService-IfExists

modified test param
  • Loading branch information
bitheadCody authored Aug 7, 2024
2 parents 51409e3 + 1d3d150 commit 9a50283
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4811,7 +4811,11 @@ async function testSocialLeaderboard() {
});

await asyncTest("postScoreToDynamicLeaderboardUsingConfig", 2, function () {
var leaderboardId = "testDynamicJs";
var today = new Date();
var tomorrow = new Date(today);
tomorrow.setDate(today.getDate() + 1);

var leaderboardId = "testDynamicJs"
var score = 9999;
var scoreData = {
"nickname": "tarnished"
Expand All @@ -4820,7 +4824,7 @@ async function testSocialLeaderboard() {
"leaderboardType": "HIGH_VALUE",
"rotationType": "DAYS",
"numDaysToRotate": 4,
"resetAt": "1722965911665",
"resetAt": tomorrow,
"retainedCount": 2,
"expireInMins": null
};
Expand Down

0 comments on commit 9a50283

Please sign in to comment.