Skip to content

Commit

Permalink
Merge branch 'integration-test-data'
Browse files Browse the repository at this point in the history
  • Loading branch information
esond committed Feb 13, 2024
2 parents 3a1d586 + f9db244 commit d252e0c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ private IServiceCollection AddTestDbContext(IServiceCollection services)
services.Remove(descriptor);

services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(_dbContainer.GetConnectionString()));
options.UseSqlServer(_dbContainer.GetConnectionString(),
sqlOpts => sqlOpts.UseQuerySplittingBehavior(QuerySplittingBehavior.SplitQuery)));

return services;
}
Expand Down

0 comments on commit d252e0c

Please sign in to comment.