public TransactionIdTests(WebApplicationFactory <Startup> factory) { _recorder = new HttpTransactionRecorder(); _factory = factory.WithWebHostBuilder(host => host.ConfigureTestServices(services => { services .AddSingleton(_recorder) .AddApplicationPipeline(pipeline => { pipeline.AddBefore <EndpointsStep, HttpTransactionRecorderStep>(); }); })); }
public HttpTransactionRecorderStep(HttpTransactionRecorder recorder) =>