1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-14 01:42:59 +08:00

Fix rank graphs not showing in test due to unset IsRanked

This commit is contained in:
Bartłomiej Dach 2022-11-21 21:00:06 +01:00
parent 1777a60136
commit 41039340cf
No known key found for this signature in database

View File

@ -65,6 +65,7 @@ namespace osu.Game.Tests.Visual.Online
{ {
graph.Statistics.Value = new UserStatistics graph.Statistics.Value = new UserStatistics
{ {
IsRanked = true,
GlobalRank = 123456, GlobalRank = 123456,
PP = 12345, PP = 12345,
}; };
@ -84,6 +85,7 @@ namespace osu.Game.Tests.Visual.Online
{ {
graph.Statistics.Value = new UserStatistics graph.Statistics.Value = new UserStatistics
{ {
IsRanked = true,
GlobalRank = 89000, GlobalRank = 89000,
PP = 12345, PP = 12345,
RankHistory = new APIRankHistory RankHistory = new APIRankHistory
@ -110,6 +112,7 @@ namespace osu.Game.Tests.Visual.Online
{ {
graph.Statistics.Value = new UserStatistics graph.Statistics.Value = new UserStatistics
{ {
IsRanked = true,
GlobalRank = 89000, GlobalRank = 89000,
PP = 12345, PP = 12345,
RankHistory = new APIRankHistory RankHistory = new APIRankHistory
@ -133,6 +136,7 @@ namespace osu.Game.Tests.Visual.Online
{ {
graph.Statistics.Value = new UserStatistics graph.Statistics.Value = new UserStatistics
{ {
IsRanked = true,
GlobalRank = 12000, GlobalRank = 12000,
PP = 12345, PP = 12345,
RankHistory = new APIRankHistory RankHistory = new APIRankHistory
@ -161,6 +165,7 @@ namespace osu.Game.Tests.Visual.Online
{ {
graph.Statistics.Value = new UserStatistics graph.Statistics.Value = new UserStatistics
{ {
IsRanked = true,
GlobalRank = 12000, GlobalRank = 12000,
PP = 12345, PP = 12345,
RankHistory = new APIRankHistory RankHistory = new APIRankHistory