diff --git a/src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs b/src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs index 0ff3fee026e..a86e0d65460 100644 --- a/src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs +++ b/src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs @@ -953,13 +953,13 @@ public async Task ReadResource_Missing_ThrowsException() var mcpClient = await CreateMcpClientAsync(server.CreateClient()); // act - async Task Action() => await mcpClient.ReadResourceAsync("ui://open-ai-components/missing.html"); + async Task Action() => await mcpClient.ReadResourceAsync("ui://views/missing.html"); // assert var exception = await Assert.ThrowsAsync(Action); Assert.EndsWith("Resource not found.", exception.Message); Assert.Equal(-32002, (int)exception.ErrorCode); - Assert.Equal("ui://open-ai-components/missing.html", exception.Data["uri"]); + Assert.Equal("ui://views/missing.html", exception.Data["uri"]); } [Fact]