File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed
LinkDotNet.Blog.IntegrationTests/Infrastructure/Persistence/Sql
LinkDotNet.Infrastructure/Persistence/Sql Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ public async Task ShouldDelete()
114114 await BlogPostRepository . DeleteAsync ( blogPost . Id ) ;
115115
116116 ( await DbContext . BlogPosts . AsNoTracking ( ) . AnyAsync ( b => b . Id == blogPost . Id ) ) . Should ( ) . BeFalse ( ) ;
117- ( await DbContext . Tags . AsNoTracking ( ) . AnyAsync ( t => t . Id == blogPost . Id ) ) . Should ( ) . BeFalse ( ) ;
118117 }
119118 }
120119}
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ public BlogPostContext(DbContextOptions options)
1313
1414 public DbSet < BlogPost > BlogPosts { get ; set ; }
1515
16- public DbSet < Tag > Tags { get ; set ; }
17-
1816 protected override void OnModelCreating ( ModelBuilder modelBuilder )
1917 {
2018 modelBuilder . Entity < BlogPost > ( )
You can’t perform that action at this time.
0 commit comments