fix tests. new product advisories enhancements
This commit is contained in:
@@ -15,13 +15,13 @@ namespace StellaOps.ReachGraph.WebService.Tests;
|
||||
/// Integration tests for the ReachGraph Store API.
|
||||
/// Uses in-memory providers for quick testing without containers.
|
||||
/// </summary>
|
||||
public class ReachGraphApiIntegrationTests : IClassFixture<WebApplicationFactory<Program>>
|
||||
public class ReachGraphApiIntegrationTests : IClassFixture<ReachGraphTestFactory>
|
||||
{
|
||||
private readonly HttpClient _client;
|
||||
private const string TenantHeader = "X-Tenant-ID";
|
||||
private const string TestTenant = "test-tenant";
|
||||
|
||||
public ReachGraphApiIntegrationTests(WebApplicationFactory<Program> factory)
|
||||
public ReachGraphApiIntegrationTests(ReachGraphTestFactory factory)
|
||||
{
|
||||
_client = factory.CreateClient();
|
||||
_client.DefaultRequestHeaders.Add(TenantHeader, TestTenant);
|
||||
|
||||
Reference in New Issue
Block a user