diff --git a/docs-builder.slnx b/docs-builder.slnx
index 116503ed7..89bab2d9b 100644
--- a/docs-builder.slnx
+++ b/docs-builder.slnx
@@ -77,6 +77,7 @@
+
diff --git a/tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs b/tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
index f542306da..3920b3296 100644
--- a/tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
+++ b/tests-integration/Elastic.Documentation.Api.IntegrationTests/EuidEnrichmentIntegrationTests.cs
@@ -36,7 +36,8 @@ public async Task AskAiEndpointPropagatatesEuidToAllSpansAndLogs()
using var request = new HttpRequestMessage(HttpMethod.Post, "/docs/_api/v1/ask-ai/stream");
request.Headers.Add("Cookie", $"euid={expectedEuid}");
request.Content = new StringContent(
- """{"message":"test question","conversationId":null}""",
+ /*lang=json,strict*/
+ """{"message":"test question","conversationId":null}""",
Encoding.UTF8,
"application/json"
);
diff --git a/tests-integration/Elastic.Documentation.Api.IntegrationTests/Fixtures/ApiWebApplicationFactory.cs b/tests-integration/Elastic.Documentation.Api.IntegrationTests/Fixtures/ApiWebApplicationFactory.cs
index f6ce84bd6..96c60e7aa 100644
--- a/tests-integration/Elastic.Documentation.Api.IntegrationTests/Fixtures/ApiWebApplicationFactory.cs
+++ b/tests-integration/Elastic.Documentation.Api.IntegrationTests/Fixtures/ApiWebApplicationFactory.cs
@@ -54,9 +54,10 @@ protected override void ConfigureWebHost(IWebHostBuilder builder) =>
// Mock IAskAiGateway to avoid external AI service calls
var mockAskAiGateway = A.Fake>();
A.CallTo(() => mockAskAiGateway.AskAi(A._, A._))
- .ReturnsLazily(() => {
+ .ReturnsLazily(() =>
+ {
var stream = new MemoryStream(Encoding.UTF8.GetBytes("data: test\n\n"));
- MockMemoryStreams.Add(stream);
+ _mockMemoryStreams.Add(stream);
return Task.FromResult(stream);
});
_ = services.AddSingleton(mockAskAiGateway);
@@ -79,11 +80,11 @@ protected override void Dispose(bool disposing)
{
if (disposing)
{
- foreach (var stream in MockMemoryStreams)
+ foreach (var stream in _mockMemoryStreams)
{
stream.Dispose();
}
- MockMemoryStreams.Clear();
+ _mockMemoryStreams.Clear();
}
base.Dispose(disposing);
}