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
331331 await _testContext . RunOnDatabaseAsync ( async dbContext =>
332332 {
333333 await dbContext . ClearTableAsync < Planet > ( ) ;
334- dbContext . Stars . AddRange ( star ) ;
334+ dbContext . Stars . Add ( star ) ;
335335 await dbContext . SaveChangesAsync ( ) ;
336336 } ) ;
337337
@@ -387,7 +387,7 @@ public async Task Filter_from_resource_definition_is_applied_on_relationship_end
387387 await _testContext . RunOnDatabaseAsync ( async dbContext =>
388388 {
389389 await dbContext . ClearTableAsync < Planet > ( ) ;
390- dbContext . Stars . AddRange ( star ) ;
390+ dbContext . Stars . Add ( star ) ;
391391 await dbContext . SaveChangesAsync ( ) ;
392392 } ) ;
393393
You can’t perform that action at this time.
0 commit comments