mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
Fix missing dependency exception in unit tests
This commit is contained in:
parent
502193e1c6
commit
274736b9c7
@ -27,6 +27,9 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
[Cached]
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Green);
|
||||
|
||||
[Cached]
|
||||
private ModSelectOverlayStatics modOverlayStatics = new ModSelectOverlayStatics();
|
||||
|
||||
[Resolved]
|
||||
private OsuConfigManager configManager { get; set; } = null!;
|
||||
|
||||
|
@ -23,6 +23,9 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
[Cached]
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Green);
|
||||
|
||||
[Cached]
|
||||
private ModSelectOverlayStatics modOverlayStatics = new ModSelectOverlayStatics();
|
||||
|
||||
[Test]
|
||||
public void TestVariousPanels()
|
||||
{
|
||||
|
@ -37,6 +37,9 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
[Cached]
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Green);
|
||||
|
||||
[Cached]
|
||||
private ModSelectOverlayStatics modOverlayStatics = new ModSelectOverlayStatics();
|
||||
|
||||
[Cached(typeof(IDialogOverlay))]
|
||||
private readonly DialogOverlay dialogOverlay = new DialogOverlay();
|
||||
|
||||
|
@ -26,6 +26,9 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
[Cached]
|
||||
private OverlayColourProvider colourProvider = new OverlayColourProvider(OverlayColourScheme.Green);
|
||||
|
||||
[Cached]
|
||||
private ModSelectOverlayStatics modOverlayStatics = new ModSelectOverlayStatics();
|
||||
|
||||
[SetUpSteps]
|
||||
public void SetUpSteps()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user