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 Oct 4, 2018
1 parent c351984 commit 9fb2326
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 @@ -2550,7 +2550,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 @@ -4184,7 +4184,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 9fb2326

Please sign in to comment.