File tree 2 files changed +0
-3
lines changed
LinkDotNet.Blog.IntegrationTests/Infrastructure/Persistence/Sql
LinkDotNet.Infrastructure/Persistence/Sql
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()
114
114
await BlogPostRepository . DeleteAsync ( blogPost . Id ) ;
115
115
116
116
( 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 ( ) ;
118
117
}
119
118
}
120
119
}
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ public BlogPostContext(DbContextOptions options)
13
13
14
14
public DbSet < BlogPost > BlogPosts { get ; set ; }
15
15
16
- public DbSet < Tag > Tags { get ; set ; }
17
-
18
16
protected override void OnModelCreating ( ModelBuilder modelBuilder )
19
17
{
20
18
modelBuilder . Entity < BlogPost > ( )
You can’t perform that action at this time.
0 commit comments