예제 #1
0
        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)
 {
 }