public ContatoTest(ITestOutputHelper output, TestServerStartup fixture, AuthenticationFixture auth) { _output = output; _fixture = fixture; _auth = auth; client = fixture.Client; client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", _auth.Token); }
public AuthenticationFixture(TestServerStartup fixture) { _fixture = fixture; Token = GetUserToken(); }