Skip to content

Commit a68381e

Browse files
committed
Fix TriggeredDbContextFactoryTests AddTriggeredDbContextFactory missing parameter
1 parent 0d9619f commit a68381e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public TestDbContext(DbContextOptions options)
5151
public void DbContextFactory_RaisesTrigger_SharesDbContext()
5252
{
5353
using var serviceProvider = new ServiceCollection()
54-
.AddTriggeredDbContextFactory<TestDbContext>(options => {
54+
.AddTriggeredDbContextFactory<TestDbContext>((sp, options) => {
5555
options.UseInMemoryDatabase(nameof(DbContextFactory_RaisesTrigger_SharesDbContext));
5656
options.UseTriggers(triggerOptions => {
5757
triggerOptions.AddTrigger<TestTrigger>();

0 commit comments

Comments
 (0)