File: Integration\SampleAppFixture.cs | Web Access |
Project: src\src\OpenApi\test\Microsoft.AspNetCore.OpenApi.Tests\Microsoft.AspNetCore.OpenApi.Tests.csproj (Microsoft.AspNetCore.OpenApi.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.Hosting; public class SampleAppFixture : WebApplicationFactory<Program> { protected override IHost CreateHost(IHostBuilder builder) { builder.UseContentRoot(Directory.GetCurrentDirectory()); return base.CreateHost(builder); } } |