1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Use more direct reference in tests

This commit is contained in:
Dean Herbert 2020-09-04 13:16:35 +09:00
parent f14a82e3a9
commit d3fbc7cc53

View File

@ -767,7 +767,7 @@ namespace osu.Game.Tests.Beatmaps.IO
var osu = loadOsu(host);
var manager = osu.Dependencies.Get<BeatmapManager>();
var working = osu.Dependencies.Get<BeatmapManager>().CreateNew(new OsuRuleset().RulesetInfo);
var working = manager.CreateNew(new OsuRuleset().RulesetInfo);
manager.Save(working.BeatmapInfo, working.Beatmap);
@ -794,7 +794,7 @@ namespace osu.Game.Tests.Beatmaps.IO
var osu = loadOsu(host);
var manager = osu.Dependencies.Get<BeatmapManager>();
var working = osu.Dependencies.Get<BeatmapManager>().CreateNew(new OsuRuleset().RulesetInfo);
var working = manager.CreateNew(new OsuRuleset().RulesetInfo);
((Beatmap)working.Beatmap).HitObjects.Add(new HitCircle { StartTime = 5000 });