Skip to content

Commit 98c7eb8

Browse files
committed
Fixed broken tests for v1
1 parent 955b746 commit 98c7eb8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

test/EntityFrameworkCore.Triggered.IntegrationTests/CascadingSoftDeletes/ApplicationDbContext.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99

1010
namespace EntityFrameworkCore.Triggered.IntegrationTests.CascadingSoftDeletes
1111
{
12-
public class ApplicationDbContext : DbContext
12+
public class ApplicationDbContext
13+
#if EFCORETRIGGERED1
14+
: TriggeredDbContext
15+
#else
16+
: DbContext
17+
#endif
1318
{
1419
readonly string _databaseName;
1520

test/EntityFrameworkCore.Triggered.IntegrationTests/CascadingSoftDeletes/CascadingSoftDeletesTestScenario.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Scenario(ScenarioContext scenario)
2626
Assert.Equal(3, result);
2727
}
2828

29-
scenario.Fact("1. Soft delete works on the depest level", () => {
29+
scenario.Fact("1. Soft delete works on the deepest level", () => {
3030
dbContext.Remove(level2);
3131
var result = dbContext.SaveChanges();
3232

0 commit comments

Comments
 (0)