mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Fix multiple tests with incorrect access to beatmap imports
This commit is contained in:
@ -39,7 +39,10 @@ namespace osu.Game.Tests.Visual.Menus
|
||||
AddStep("import beatmap with track", () =>
|
||||
{
|
||||
var setWithTrack = Game.BeatmapManager.Import(new ImportTask(TestResources.GetTestBeatmapForImport())).GetResultSafely();
|
||||
Beatmap.Value = Game.BeatmapManager.GetWorkingBeatmap(setWithTrack.Value.Beatmaps.First());
|
||||
setWithTrack?.PerformRead(s =>
|
||||
{
|
||||
Beatmap.Value = Game.BeatmapManager.GetWorkingBeatmap(s.Beatmaps.First());
|
||||
});
|
||||
});
|
||||
|
||||
AddStep("bind to track change", () =>
|
||||
|
Reference in New Issue
Block a user