Fix regressions in tests

This commit is contained in:
Dean Herbert
2019-02-12 19:53:08 +09:00
parent 2ea839c475
commit b967b93b88
2 changed files with 13 additions and 3 deletions

View File

@ -32,7 +32,7 @@ namespace osu.Game.Tests.Visual
// This is the earliest we can get OsuGameBase, which is used by the dummy working beatmap to find textures
beatmap.Default = new DummyWorkingBeatmap(Dependencies.Get<OsuGameBase>());
Dependencies.CacheAs<BindableBeatmap>(beatmap);
Dependencies.CacheAs<Bindable<WorkingBeatmap>>(beatmap);
Dependencies.CacheAs<IBindable<WorkingBeatmap>>(beatmap);
Dependencies.CacheAs(Ruleset);