Clean up
Some checks failed
Code Coverage / Generate Coverage Report (push) Has been cancelled
Tests / Run Tests (9.0.x) (push) Has been cancelled
Tests / Docker Build Test (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Yaojia Wang
2025-11-09 18:40:36 +01:00
parent 1d6e732018
commit 63ff1a9914
90 changed files with 748 additions and 1462 deletions

View File

@@ -12,14 +12,10 @@ namespace ColaFlow.IntegrationTests.Mcp;
/// <summary>
/// Integration tests for MCP Protocol endpoint
/// </summary>
public class McpProtocolIntegrationTests : IClassFixture<WebApplicationFactory<Program>>
public class McpProtocolIntegrationTests(WebApplicationFactory<Program> factory)
: IClassFixture<WebApplicationFactory<Program>>
{
private readonly HttpClient _client;
public McpProtocolIntegrationTests(WebApplicationFactory<Program> factory)
{
_client = factory.CreateClient();
}
private readonly HttpClient _client = factory.CreateClient();
[Fact]
public async Task McpEndpoint_WithInitializeRequest_ReturnsSuccess()