audit work, fixed StellaOps.sln warnings/errors, fixed tests, sprints work, new advisories
This commit is contained in:
@@ -140,7 +140,7 @@ public sealed class GatewayIntegrationTests : IClassFixture<GatewayWebApplicatio
|
||||
|
||||
var response = await client.GetAsync("/health");
|
||||
|
||||
Assert.True(response.Headers.Contains("X-Correlation-Id"));
|
||||
Assert.Contains("X-Correlation-Id", response.Headers.Select(h => h.Key));
|
||||
var correlationId = response.Headers.GetValues("X-Correlation-Id").FirstOrDefault();
|
||||
Assert.False(string.IsNullOrEmpty(correlationId));
|
||||
}
|
||||
@@ -155,7 +155,7 @@ public sealed class GatewayIntegrationTests : IClassFixture<GatewayWebApplicatio
|
||||
request.Headers.TryAddWithoutValidation("X-Correlation-Id", requestCorrelationId);
|
||||
var response = await client.SendAsync(request);
|
||||
|
||||
Assert.True(response.Headers.Contains("X-Correlation-Id"));
|
||||
Assert.Contains("X-Correlation-Id", response.Headers.Select(h => h.Key));
|
||||
var responseCorrelationId = response.Headers.GetValues("X-Correlation-Id").FirstOrDefault();
|
||||
Assert.Equal(requestCorrelationId, responseCorrelationId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user