Skip to content

Commit fc0ca32

Browse files
authored
Merge pull request #200 from risperdal/master
Fix TriggeredDbContextFactoryTests AddTriggeredDbContextFactory missing parameter
2 parents 0d9619f + a68381e commit fc0ca32

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)