Skip to content

Commit 96eb7da

Browse files
committed
Another fix for EFCore extensions tests
1 parent c6f413c commit 96eb7da

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/EntityFrameworkCore.Triggered.Extensions.Tests/ServiceCollectionExtensionsTests.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ public class TestModel
3131
public int Id { get; set; }
3232
}
3333

34-
public class TestDbContext : TriggeredDbContext
34+
public class TestDbContext :
35+
#if EFCORETRIGGERED2
36+
DbContext
37+
#else
38+
TriggeredDbContext
39+
#endif
3540
{
3641
public TestDbContext(DbContextOptions options)
3742
: base(options)

0 commit comments

Comments
 (0)