Skip to content

Commit a84b258

Browse files
committed
Remove redundant Clear calls
1 parent 636ee1d commit a84b258

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitions/Reading/ResourceDefinitionReadTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ public async Task Filter_from_resource_definition_is_applied_at_secondary_endpoi
324324

325325
await _testContext.RunOnDatabaseAsync(async dbContext =>
326326
{
327-
await dbContext.ClearTableAsync<Planet>();
328327
dbContext.Stars.Add(star);
329328
await dbContext.SaveChangesAsync();
330329
});
@@ -376,7 +375,6 @@ public async Task Filter_from_resource_definition_is_applied_at_relationship_end
376375

377376
await _testContext.RunOnDatabaseAsync(async dbContext =>
378377
{
379-
await dbContext.ClearTableAsync<Planet>();
380378
dbContext.Stars.Add(star);
381379
await dbContext.SaveChangesAsync();
382380
});

0 commit comments

Comments
 (0)