Add 2025-06-18 as supported version (#529)

This commit is contained in:
Stephen Toub 2025-06-20 12:03:28 -04:00 • committed by GitHub
commit 0e6184a4aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -171,7 +171,10 @@ public class MapMcpStreamableHttpTests(ITestOutputHelper outputHelper) : MapMcpT
await app.StartAsync(TestContext.Current.CancellationToken);
await using var mcpClient = await ConnectAsync();
await using var mcpClient = await ConnectAsync(clientOptions: new()
{
ProtocolVersion = "2025-03-26",
});
await mcpClient.ListToolsAsync(cancellationToken: TestContext.Current.CancellationToken);
// The header should be included in the GET request, the initialized notification, and the tools/list call.