diff --git a/backend/FwLite/LcmCrdt.Tests/LcmCrdtTestsKernel.cs b/backend/FwLite/LcmCrdt.Tests/LcmCrdtTestsKernel.cs index ccce423b6..e0d4e4204 100644 --- a/backend/FwLite/LcmCrdt.Tests/LcmCrdtTestsKernel.cs +++ b/backend/FwLite/LcmCrdt.Tests/LcmCrdtTestsKernel.cs @@ -12,7 +12,7 @@ public static IServiceCollection AddTestLcmCrdtClient(this IServiceCollection se services.AddLcmCrdtClient(); if (project is not null) { - services.AddSingleton(provider => + services.AddScoped(provider => { var currentProjectService = ActivatorUtilities.CreateInstance(provider); currentProjectService.SetupProjectContextForNewDb(project);