mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 08:22:56 +08:00
Fix remaining broken test
This commit is contained in:
parent
2d1cef79d6
commit
7d09a39262
@ -110,11 +110,13 @@ namespace osu.Game.Tests.Visual
|
|||||||
|
|
||||||
private void selectBeatmap(string name)
|
private void selectBeatmap(string name)
|
||||||
{
|
{
|
||||||
var infoBefore = infoWedge.Info;
|
BeatmapInfoWedge.BufferedWedgeInfo infoBefore = null;
|
||||||
|
|
||||||
AddStep($"select {name} beatmap", () =>
|
AddStep($"select {name} beatmap", () =>
|
||||||
{
|
{
|
||||||
beatmap.Value = new TestWorkingBeatmap(beatmaps.First(b => b.BeatmapInfo.Ruleset.ShortName == name));
|
infoBefore = infoWedge.Info;
|
||||||
|
WorkingBeatmap bm = new TestWorkingBeatmap(beatmaps.First(b => b.BeatmapInfo.Ruleset.ShortName == name));
|
||||||
|
beatmap.Value = bm;
|
||||||
infoWedge.UpdateBeatmap(beatmap);
|
infoWedge.UpdateBeatmap(beatmap);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user