Fix tests/add placeholder item tests

This commit is contained in:
smoogipoo
2020-09-08 17:05:43 +09:00
parent 2e40ff25f7
commit bee450ae1e
3 changed files with 72 additions and 27 deletions

View File

@ -42,13 +42,6 @@ namespace osu.Game.Tests.Visual.SongSelect
});
}
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
{
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
dependencies.Cache(collectionManager);
return dependencies;
}
[BackgroundDependencyLoader]
private void load(GameHost host)
{
@ -58,6 +51,13 @@ namespace osu.Game.Tests.Visual.SongSelect
beatmapManager.Import(TestResources.GetTestBeatmapForImport()).Wait();
}
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
{
var dependencies = new DependencyContainer(base.CreateChildDependencies(parent));
dependencies.Cache(collectionManager);
return dependencies;
}
[SetUp]
public void SetUp() => Schedule(() =>
{