Skip to content

Commit

Permalink
fixed tests that require a unique in memory database
Browse files Browse the repository at this point in the history
  • Loading branch information
JanEggers committed Dec 16, 2018
1 parent 7a3397b commit b715f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/EFCore.Tests/ModelBuilding/OneToManyTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ public virtual void Can_use_self_referencing_overlapping_FK_PK()

var contextOptions = new DbContextOptionsBuilder()
.UseModel(modelBuilder.Model)
.UseInMemoryDatabase("Can_use_self_referencing_overlapping_FK_PK")
.UseInMemoryDatabase(GetType().FullName + "Can_use_self_referencing_overlapping_FK_PK")
.Options;

using (var context = new DbContext(contextOptions))
Expand Down
2 changes: 1 addition & 1 deletion test/EFCore.Tests/ModelBuilding/OneToOneTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4200,7 +4200,7 @@ public virtual void Can_use_self_referencing_overlapping_FK_PK()

var contextOptions = new DbContextOptionsBuilder()
.UseModel(modelBuilder.Model)
.UseInMemoryDatabase("Can_use_self_referencing_overlapping_FK_PK_one_to_one")
.UseInMemoryDatabase(GetType().FullName + "Can_use_self_referencing_overlapping_FK_PK")
.Options;

using (var context = new DbContext(contextOptions))
Expand Down

0 comments on commit b715f56

Please sign in to comment.