Update mock model usage to set GUIDs instead of ints

This commit is contained in:
Dean Herbert
2021-11-22 14:26:51 +09:00
parent 4f66e8f881
commit e6f6558ddf
5 changed files with 20 additions and 15 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Tests.Visual.SongSelect
private RulesetStore rulesets;
private readonly Stack<BeatmapSetInfo> selectedSets = new Stack<BeatmapSetInfo>();
private readonly HashSet<int> eagerSelectedIDs = new HashSet<int>();
private readonly HashSet<Guid> eagerSelectedIDs = new HashSet<Guid>();
private BeatmapInfo currentSelection => carousel.SelectedBeatmapInfo;

View File

@ -585,7 +585,7 @@ namespace osu.Game.Tests.Visual.SongSelect
[Test]
public void TestHideSetSelectsCorrectBeatmap()
{
int? previousID = null;
Guid? previousID = null;
createSongSelect();
addRulesetImportStep(0);
AddStep("Move to last difficulty", () => songSelect.Carousel.SelectBeatmap(songSelect.Carousel.BeatmapSets.First().Beatmaps.Last()));