From 07cab88e0d2c6fdb3b70fc1a431b8fe246b37356 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 30 Jun 2025 15:53:38 +0200 Subject: [PATCH] Refactor service registration with lambda expression --- EnvelopeGenerator.Tests.Application/Mock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Tests.Application/Mock.cs b/EnvelopeGenerator.Tests.Application/Mock.cs index 4d1410e0..ffdcfdca 100644 --- a/EnvelopeGenerator.Tests.Application/Mock.cs +++ b/EnvelopeGenerator.Tests.Application/Mock.cs @@ -18,7 +18,7 @@ public class Mock builder.Configuration.AddJsonFile(configPath, optional: true, reloadOnChange: true); builder.Services - .AddEnvelopeGeneratorInfrastructureServices(opt => + .AddEnvelopeGeneratorInfrastructureServices((provider, opt) => { if (useRealDb) {