2022-07-11 09:23:06 -05:00
|
|
|
using server.tests.Http;
|
|
|
|
|
using server.tests.Options;
|
|
|
|
|
using System.Text.Json;
|
|
|
|
|
|
|
|
|
|
namespace server.tests.v1.integrationTests
|
|
|
|
|
{
|
|
|
|
|
public class QuotesControllerIntegrationTests
|
|
|
|
|
{
|
|
|
|
|
private readonly HttpClient _client;
|
|
|
|
|
private readonly JsonSerializerOptions _serializerOptions;
|
|
|
|
|
private readonly string _endpoint;
|
|
|
|
|
|
|
|
|
|
public QuotesControllerIntegrationTests()
|
|
|
|
|
{
|
2022-07-11 09:36:39 -05:00
|
|
|
_client = HttpClientFactory.GetClient(1);
|
2022-07-11 09:23:06 -05:00
|
|
|
|
|
|
|
|
_serializerOptions = OptionsFactory.GetJsonSerializerOptions();
|
|
|
|
|
|
|
|
|
|
_endpoint = "/api/seasons";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|