Skip to content

Commit 172e589

Browse files
authored
Merge pull request #80 from rwasef1830/fix_test_regression_due_to_77
Fix test regression due to #77
2 parents 6280338 + e1a7c48 commit 172e589

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

test/EntityFramework6.Npgsql.Tests/EntityFrameworkBasicTests.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,6 @@ public void InsertAndSelect()
8585
[Test]
8686
public void InsertAndSelectSchemaless()
8787
{
88-
using (var context = new BloggingContext(ConnectionString))
89-
{
90-
context.Database.Delete();
91-
context.Database.Create();
92-
}
93-
9488
using (var context = new BloggingContext(ConnectionString))
9589
{
9690
context.NoColumnsEntities.Add(new NoColumnsEntity());

test/EntityFramework6.Npgsql.Tests/Support/EntityFrameworkTestBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ protected void SetUp()
7373
{
7474
context.Blogs.RemoveRange(context.Blogs);
7575
context.Posts.RemoveRange(context.Posts);
76+
context.NoColumnsEntities.RemoveRange(context.NoColumnsEntities);
7677
context.SaveChanges();
7778
}
7879
}

0 commit comments

Comments
 (0)