diff --git a/osu.Game.Rulesets.Karaoke.Tests/Mods/TestSceneKaraokeModFlashlight.cs b/osu.Game.Rulesets.Karaoke.Tests/Mods/TestSceneKaraokeModFlashlight.cs index 99345f020..495277b14 100644 --- a/osu.Game.Rulesets.Karaoke.Tests/Mods/TestSceneKaraokeModFlashlight.cs +++ b/osu.Game.Rulesets.Karaoke.Tests/Mods/TestSceneKaraokeModFlashlight.cs @@ -3,6 +3,7 @@ using System.Linq; using NUnit.Framework; +using osu.Framework.Testing; using osu.Game.Rulesets.Karaoke.Mods; using osu.Game.Rulesets.Karaoke.Tests.Beatmaps; using osu.Game.Rulesets.Karaoke.Tests.Extensions; @@ -24,7 +25,7 @@ public void TestFlashlightExist() => CreateModTest(new ModTestData return false; // Should has at least one flashlight - return drawableRuleset.KeyBindingInputManager.Children.OfType().Any(); + return drawableRuleset.KeyBindingInputManager.ChildrenOfType().Any(); } }); }