User-1760607715 posted
Hi , I would like to mock IdentityServer4, when using AspNetCore integration tests
here is my code :
public class TestFixture : WebApplicationFactory, IDisposable
{
}
public class QueryTest : IClassFixture
{
private readonly TestFixture _fixture;
private readonly HttpClient _httpClient;
public VoteQueryTest(TestFixture fixture)
{ _fixture = fixture; _httpClient = _fixture.CreateClient();
}