@@ -388,8 +388,8 @@ void testToolCallSuccess() {
388
388
new McpSchema .Tool ("tool1" , "tool1 description" , emptyJsonSchema ), (exchange , request ) -> {
389
389
// perform a blocking call to a remote service
390
390
String response = RestClient .create ()
391
- .get ()https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
392
- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
391
+ .get ()
392
+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
393
393
.retrieve ()
394
394
.body (String .class );
395
395
assertThat (response ).isNotBlank ();
@@ -424,9 +424,9 @@ void testToolListChangeHandlingSuccess() {
424
424
McpServerFeatures .SyncToolSpecification tool1 = new McpServerFeatures .SyncToolSpecification (
425
425
new McpSchema .Tool ("tool1" , "tool1 description" , emptyJsonSchema ), (exchange , request ) -> {
426
426
// perform a blocking call to a remote service
427
- String https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
427
+ String response = RestClient . create ()
428
428
.get ()
429
- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
429
+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
430
430
.retrieve ()
431
431
.body (String .class );
432
432
assertThat (response ).isNotBlank ();
@@ -441,9 +441,9 @@ void testToolListChangeHandlingSuccess() {
441
441
AtomicReference <List <Tool >> rootsRef = new AtomicReference <>();
442
442
var mcpClient = clientBuilder .toolsChangeConsumer (toolsUpdate -> {
443
443
// perform a blocking call to a remote service
444
- String https : //raw.githubusercontent.com/modelcontextprotocol/java-sdk/refs/heads/main/README.md
444
+ String response = RestClient . create ()
445
445
.get ()
446
- .uri ("https://github. com/modelcontextprotocol/specification/blob /main/README.md" )
446
+ .uri ("https://raw.githubusercontent. com/modelcontextprotocol/java-sdk/refs/heads /main/README.md" )
447
447
.retrieve ()
448
448
.body (String .class );
449
449
assertThat (response ).isNotBlank ();
0 commit comments