public KernelTestBase(TestWebApplicationFactory <TestStartup> factory)
        {
            var port = factory.Server.BaseAddress.Port;

            Factory      = factory;
            HttpClient   = factory.CreateClient();
            ServiceScope = factory.Services.CreateScope();
        }
示例#2
0
 public KernelTests(TestWebApplicationFactory <TestStartup> factory) : base(factory)
 {
 }