Finalizes ConfigurationBuilder with indexer
This commit is contained in:
parent
1f675498a2
commit
6839cd82e2
5 changed files with 43 additions and 11 deletions
|
|
@ -35,7 +35,7 @@ namespace Tests
|
|||
{
|
||||
CreateContainerBuilder();
|
||||
Container = ContainerBuilder.Build();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ namespace Tests
|
|||
.SingleInstance();
|
||||
|
||||
|
||||
builder.RegisterModule(new Core.ModuleRegistry.DbPostgreSqlModule
|
||||
builder.RegisterModule(new Database.ModuleRegistry.DbPostgreSqlModule
|
||||
{
|
||||
ConnectionString = configuration.GetConnectionString("DefaultConnection")
|
||||
});
|
||||
|
|
@ -86,8 +86,6 @@ namespace Tests
|
|||
[TestCleanup]
|
||||
public void CleanUp()
|
||||
{
|
||||
//Serilog.Log.CloseAndFlush();
|
||||
|
||||
Trace.Flush();
|
||||
var telemetryClient = Container.Resolve<TelemetryClient>();
|
||||
telemetryClient.Flush();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue