Skip to content

Commit

Permalink
fix(quetzalcoatl): enable MARS for mssql dsn in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WarriorsSami committed Jun 21, 2024
1 parent 8fc06bd commit bfe9788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quetzalcoatl-auth/Tests.Integration/Core/ApiWebFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ protected override void ConfigureWebHost(IWebHostBuilder builder)
services.RemoveDbContext<ApplicationDbContext>();
services.AddDbContext<ApplicationDbContext>(options =>
{
options.UseSqlServer(_database.GetConnectionString());
options.UseSqlServer($"{_database.GetConnectionString()};MultipleActiveResultSets=true");
});
services.ApplyMigrations<ApplicationDbContext>();
});
Expand Down

0 comments on commit bfe9788

Please sign in to comment.