Skip to content

Commit

Permalink
Test: Use named in-memory database for the test which requires clean …
Browse files Browse the repository at this point in the history
…database
  • Loading branch information
smitpatel committed Feb 3, 2017
1 parent 16d83cb commit 994500c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Microsoft.EntityFrameworkCore.Tests/DbContextTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public class ActiveAddContext : DbContext
public DbSet<Question> Questions { get; set; }

protected internal override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
=> optionsBuilder.UseInMemoryDatabase();
=> optionsBuilder.UseInMemoryDatabase(databaseName: "issue7119");

protected internal override void OnModelCreating(ModelBuilder modelBuilder)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3642,7 +3642,7 @@ public virtual void Creates_one_to_one_relationship_with_single_ref_as_principal
Assert.Equal(OneToOnePrincipalEntity.EntityMatchingProperty.Name, fk.Properties.Single().Name);
}

[ConditionalFact(Skip = "Test is flaky due to concurrency issue.")] //TODO: Issue#7531
[Fact]
public virtual void Can_use_self_referencing_overlapping_FK_PK()
{
var modelBuilder = CreateModelBuilder();
Expand Down

0 comments on commit 994500c

Please sign in to comment.