From d56347fadac052142928c71db076989016522f90 Mon Sep 17 00:00:00 2001 From: erri120 Date: Sat, 28 Sep 2024 15:08:32 +0200 Subject: [PATCH] Fix tests --- tests/NexusMods.StandardGameLocators.TestHelpers/Services.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/NexusMods.StandardGameLocators.TestHelpers/Services.cs b/tests/NexusMods.StandardGameLocators.TestHelpers/Services.cs index 73d4e62872..5b970ad346 100644 --- a/tests/NexusMods.StandardGameLocators.TestHelpers/Services.cs +++ b/tests/NexusMods.StandardGameLocators.TestHelpers/Services.cs @@ -1,4 +1,5 @@ using GameFinder.Common; +using GameFinder.Launcher.Heroic; using GameFinder.StoreHandlers.EADesktop; using GameFinder.StoreHandlers.EGS; using GameFinder.StoreHandlers.GOG; @@ -75,6 +76,8 @@ public static IServiceCollection AddStubbedGameLocators(this IServiceCollection if (OSInformation.Shared.IsLinux) { + coll.AddSingleton(s => new HeroicGOGHandler(s.GetRequiredService())); + coll.AddSingleton>(s => new StubbedWinePrefixManager(s.GetRequiredService(), tfm => new WinePrefix