protected IntegrationTestCore(string url, Type startup, Action <IServiceCollection> configureServices) { this._server = ServerFactory.Server(startup, configureServices); this.Context = this.Server.Host.Services.GetService(typeof(LanreContext)) as LanreContext; this._client = this.Server.CreateClient(); this._url = url; }
protected IntegrationTestBase(string url, Action <IServiceCollection> configureServices) { Server = ServerFactory.Server(configureServices); Client = Server.CreateClient(); Url = url; }