We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d9619f commit a68381eCopy full SHA for a68381e
1 file changed
test/EntityFrameworkCore.Triggered.Tests/TriggeredDbContextFactoryTests.cs
@@ -51,7 +51,7 @@ public TestDbContext(DbContextOptions options)
51
public void DbContextFactory_RaisesTrigger_SharesDbContext()
52
{
53
using var serviceProvider = new ServiceCollection()
54
- .AddTriggeredDbContextFactory<TestDbContext>(options => {
+ .AddTriggeredDbContextFactory<TestDbContext>((sp, options) => {
55
options.UseInMemoryDatabase(nameof(DbContextFactory_RaisesTrigger_SharesDbContext));
56
options.UseTriggers(triggerOptions => {
57
triggerOptions.AddTrigger<TestTrigger>();
0 commit comments