mirror of
https://github.com/ppy/osu
synced 2025-01-02 12:22:13 +00:00
Fix potential test fail case
This commit is contained in:
parent
bb1289e83c
commit
2089f6fc42
@ -381,14 +381,10 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
[Test]
|
||||
public void TestHiding()
|
||||
{
|
||||
BeatmapSetInfo hidingSet = null;
|
||||
BeatmapSetInfo hidingSet = createTestBeatmapSet(1);
|
||||
hidingSet.Beatmaps[1].Hidden = true;
|
||||
|
||||
AddStep("Add set with diff 2 hidden", () =>
|
||||
{
|
||||
hidingSet = createTestBeatmapSet(1);
|
||||
hidingSet.Beatmaps[1].Hidden = true;
|
||||
carousel.UpdateBeatmapSet(hidingSet);
|
||||
});
|
||||
loadBeatmaps(new List<BeatmapSetInfo> { hidingSet });
|
||||
|
||||
setSelected(1, 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user