Add local ContextFactory caching to all remaining test scenes that create local managers

This commit is contained in:
Dean Herbert
2022-01-14 19:59:21 +09:00
parent 3a95425a9e
commit a59dcccab7
15 changed files with 18 additions and 0 deletions

View File

@ -40,6 +40,8 @@ namespace osu.Game.Tests.Visual.Multiplayer
{
Dependencies.Cache(rulesets = new RulesetStore(ContextFactory));
Dependencies.Cache(beatmaps = new BeatmapManager(LocalStorage, ContextFactory, rulesets, null, audio, Resources, host, Beatmap.Default));
Dependencies.Cache(ContextFactory);
beatmaps.Import(TestResources.GetQuickTestBeatmapForImport()).WaitSafely();
importedSet = beatmaps.GetAllUsableBeatmapSets().First();