mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:33:30 +08:00
Fix deleting null beatmap set
This commit is contained in:
parent
c89c092b98
commit
24cc8ce0b7
@ -141,7 +141,7 @@ namespace osu.Game.Tests.Scores.IO
|
||||
var beatmapManager = osu.Dependencies.Get<BeatmapManager>();
|
||||
var scoreManager = osu.Dependencies.Get<ScoreManager>();
|
||||
|
||||
beatmapManager.Delete(imported.Beatmap.BeatmapSet);
|
||||
beatmapManager.Delete(beatmapManager.QueryBeatmapSet(s => s.Beatmaps.Any(b => b.ID == imported.Beatmap.ID)));
|
||||
Assert.That(scoreManager.Query(s => s.ID == imported.ID).DeletePending, Is.EqualTo(true));
|
||||
|
||||
await scoreManager.Import(imported);
|
||||
|
Loading…
Reference in New Issue
Block a user