File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/HotChocolate/Adapters/test/Adapters.Mcp.Tests Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -953,13 +953,13 @@ public async Task ReadResource_Missing_ThrowsException()
953953 var mcpClient = await CreateMcpClientAsync ( server . CreateClient ( ) ) ;
954954
955955 // act
956- async Task Action ( ) => await mcpClient . ReadResourceAsync ( "ui://open-ai-components /missing.html" ) ;
956+ async Task Action ( ) => await mcpClient . ReadResourceAsync ( "ui://views /missing.html" ) ;
957957
958958 // assert
959959 var exception = await Assert . ThrowsAsync < McpProtocolException > ( Action ) ;
960960 Assert . EndsWith ( "Resource not found." , exception . Message ) ;
961961 Assert . Equal ( - 32002 , ( int ) exception . ErrorCode ) ;
962- Assert . Equal ( "ui://open-ai-components /missing.html" , exception . Data [ "uri" ] ) ;
962+ Assert . Equal ( "ui://views /missing.html" , exception . Data [ "uri" ] ) ;
963963 }
964964
965965 [ Fact ]
You can’t perform that action at this time.
0 commit comments