tests: add method for creating client with customized http client
This commit is contained in:
@@ -3,4 +3,5 @@ namespace AnthropicClient.Tests.EndToEnd;
|
|||||||
public class EndToEndTest(ConfigurationFixture configFixture) : IClassFixture<ConfigurationFixture>
|
public class EndToEndTest(ConfigurationFixture configFixture) : IClassFixture<ConfigurationFixture>
|
||||||
{
|
{
|
||||||
protected readonly AnthropicApiClient _client = new(configFixture.AnthropicApiKey, new());
|
protected readonly AnthropicApiClient _client = new(configFixture.AnthropicApiKey, new());
|
||||||
|
protected AnthropicApiClient CreateClient(HttpClient httpClient) => new(configFixture.AnthropicApiKey, httpClient);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user