From a68381eb4d1f2f48f4f5d281e2f6f46981dda576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?As=C4=B1m=20TA=C5=9E?= Date: Mon, 19 Aug 2024 15:24:51 +0300 Subject: [PATCH] Fix TriggeredDbContextFactoryTests AddTriggeredDbContextFactory missing parameter --- .../TriggeredDbContextFactoryTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs b/test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs index c2fe5e4..6a64289 100644 --- a/test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs +++ b/test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs @@ -51,7 +51,7 @@ public TestDbContext(DbContextOptions options) public void DbContextFactory_RaisesTrigger_SharesDbContext() { using var serviceProvider = new ServiceCollection() - .AddTriggeredDbContextFactory(options => { + .AddTriggeredDbContextFactory((sp, options) => { options.UseInMemoryDatabase(nameof(DbContextFactory_RaisesTrigger_SharesDbContext)); options.UseTriggers(triggerOptions => { triggerOptions.AddTrigger();