File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/JsonApiDotNetCoreTests/IntegrationTests/ResourceDefinitions/Reading Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ public async Task Filter_from_resource_definition_is_applied_on_secondary_endpoi
331
331
await _testContext . RunOnDatabaseAsync ( async dbContext =>
332
332
{
333
333
await dbContext . ClearTableAsync < Planet > ( ) ;
334
- dbContext . Stars . AddRange ( star ) ;
334
+ dbContext . Stars . Add ( star ) ;
335
335
await dbContext . SaveChangesAsync ( ) ;
336
336
} ) ;
337
337
@@ -387,7 +387,7 @@ public async Task Filter_from_resource_definition_is_applied_on_relationship_end
387
387
await _testContext . RunOnDatabaseAsync ( async dbContext =>
388
388
{
389
389
await dbContext . ClearTableAsync < Planet > ( ) ;
390
- dbContext . Stars . AddRange ( star ) ;
390
+ dbContext . Stars . Add ( star ) ;
391
391
await dbContext . SaveChangesAsync ( ) ;
392
392
} ) ;
393
393
You can’t perform that action at this time.
0 commit comments