Skip to content

Commit 796e51b

Browse files
committed
fix: Fix CI failures
Signed-off-by: Sun Yuhan <[email protected]>
1 parent cd577f2 commit 796e51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp/common/src/test/java/org/springframework/ai/mcp/SyncMcpToolCallbackTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void callShouldThrowOnError() {
114114
assertThatThrownBy(() -> callback.call("{\"param\":\"value\"}")).isInstanceOf(ToolExecutionException.class)
115115
.cause()
116116
.isInstanceOf(IllegalStateException.class)
117-
.hasMessage("Error calling tool: [TextContent[annotations=null, text=Some error data]]");
117+
.hasMessage("Error calling tool: [TextContent[annotations=null, text=Some error data, meta=null]]");
118118
}
119119

120120
@Test

0 commit comments

Comments
 (0)