mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 21:32:55 +08:00
Fix test regression
This commit is contained in:
parent
8a0b184dd6
commit
d73c0c0c98
@ -138,8 +138,9 @@ namespace osu.Game.Tests.Beatmaps.IO
|
|||||||
var set = queryBeatmapSets().First();
|
var set = queryBeatmapSets().First();
|
||||||
|
|
||||||
foreach (BeatmapInfo b in set.Beatmaps)
|
foreach (BeatmapInfo b in set.Beatmaps)
|
||||||
|
Assert.IsTrue(set.Beatmaps.Any(c => c.OnlineBeatmapID == b.OnlineBeatmapID));
|
||||||
|
|
||||||
Assert.IsTrue(set.Beatmaps.Count > 0);
|
Assert.IsTrue(set.Beatmaps.Count > 0);
|
||||||
|
|
||||||
var beatmap = store.GetWorkingBeatmap(set.Beatmaps.First(b => b.RulesetID == 0))?.Beatmap;
|
var beatmap = store.GetWorkingBeatmap(set.Beatmaps.First(b => b.RulesetID == 0))?.Beatmap;
|
||||||
Assert.IsTrue(beatmap?.HitObjects.Count > 0);
|
Assert.IsTrue(beatmap?.HitObjects.Count > 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user