From 90a0a5e0b7383488796634e64b7099cd60689f9a Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Mon, 1 Nov 2021 17:12:15 +0900 Subject: [PATCH] Fix attempting to set properties of null `BeatmapSet`s in tests --- .../Visual/Online/TestSceneUserProfileScores.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/osu.Game.Tests/Visual/Online/TestSceneUserProfileScores.cs b/osu.Game.Tests/Visual/Online/TestSceneUserProfileScores.cs index fac350ea57..9c2cc13416 100644 --- a/osu.Game.Tests/Visual/Online/TestSceneUserProfileScores.cs +++ b/osu.Game.Tests/Visual/Online/TestSceneUserProfileScores.cs @@ -25,7 +25,7 @@ namespace osu.Game.Tests.Visual.Online Rank = ScoreRank.SH, Beatmap = new APIBeatmap { - BeatmapSet = + BeatmapSet = new APIBeatmapSet { Title = "JUSTadICE (TV Size)", Artist = "Oomori Seiko", @@ -48,7 +48,7 @@ namespace osu.Game.Tests.Visual.Online Rank = ScoreRank.A, Beatmap = new APIBeatmap { - BeatmapSet = + BeatmapSet = new APIBeatmapSet { Title = "Triumph & Regret", Artist = "typeMARS", @@ -70,7 +70,7 @@ namespace osu.Game.Tests.Visual.Online Rank = ScoreRank.S, Beatmap = new APIBeatmap { - BeatmapSet = + BeatmapSet = new APIBeatmapSet { Title = "Idolize", Artist = "Creo", @@ -86,7 +86,7 @@ namespace osu.Game.Tests.Visual.Online Rank = ScoreRank.B, Beatmap = new APIBeatmap { - BeatmapSet = + BeatmapSet = new APIBeatmapSet { Title = "C18H27NO3(extend)", Artist = "Team Grimoire",