Skip to content

Commit ccf8d44

Browse files
committed
Order test scores with Rank instead
1 parent 554c333 commit ccf8d44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

osu.Game.Tests/Visual/Ranking/TestSceneStatisticsPanel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ public void TestTaggingInteractionWithLocalScores()
358358
score.BeatmapInfo = beatmapInfo;
359359
score.BeatmapHash = beatmapInfo.Hash;
360360
score.Ruleset = beatmapInfo.Ruleset;
361-
score.Rank = ScoreRank.D;
361+
score.Rank = ScoreRank.S;
362362
score.User = new APIUser { Username = "notme", Id = 5678 };
363363
scoreManager.Import(score);
364364
});
@@ -368,7 +368,7 @@ public void TestTaggingInteractionWithLocalScores()
368368
var score = TestResources.CreateTestScoreInfo();
369369
score.BeatmapInfo = beatmapInfo;
370370
score.BeatmapHash = beatmapInfo.Hash;
371-
score.TotalScore = 999998;
371+
score.Rank = ScoreRank.A;
372372
score.Ruleset = new OsuRuleset().RulesetInfo;
373373
score.User = API.LocalUser.Value;
374374
scoreManager.Import(score);
@@ -379,7 +379,7 @@ public void TestTaggingInteractionWithLocalScores()
379379
var score = TestResources.CreateTestScoreInfo();
380380
score.BeatmapInfo = beatmapInfo;
381381
score.BeatmapHash = beatmapInfo.Hash;
382-
score.TotalScore = 999997;
382+
score.Rank = ScoreRank.B;
383383
score.Ruleset = beatmapInfo.Ruleset;
384384
score.Mods = [new CatchModMirror()];
385385
score.User = API.LocalUser.Value;

0 commit comments

Comments
 (0)