Пример #1
0
 public TestContextFixture()
 {
     IdentityServerRunner.Run();
     configuration  = GetConfiguration();
     webHostbuilder = GetWebHostBuilder(configuration);
     ConfigLogger(configuration);
     testServer = new TestServer(webHostbuilder);
     DatabaseInitializer.RebuildDatabase(configuration);
 }
Пример #2
0
 public void Dispose()
 {
     IdentityServerRunner.Stop();
 }