Skip to content

Commit c9ae30e

Browse files
committed
chore: fix sampling->elicitation in copied integration tests
1 parent 602c930 commit c9ae30e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mcp-spring/mcp-spring-webflux/src/test/java/io/modelcontextprotocol/WebFluxSseIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void testCreateElicitationWithoutElicitationCapabilities(String clientType) {
353353
var server = McpServer.async(mcpServerTransportProvider).serverInfo("test-server", "1.0.0").tools(tool).build();
354354

355355
try (
356-
// Create client without sampling capabilities
356+
// Create client without elicitation capabilities
357357
var client = clientBuilder.clientInfo(new McpSchema.Implementation("Sample client", "0.0.0")).build()) {
358358

359359
assertThat(client.initialize()).isNotNull();

mcp-spring/mcp-spring-webmvc/src/test/java/io/modelcontextprotocol/server/WebMvcSseIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ void testCreateElicitationWithoutElicitationCapabilities() {
374374
var server = McpServer.async(mcpServerTransportProvider).serverInfo("test-server", "1.0.0").tools(tool).build();
375375

376376
try (
377-
// Create client without sampling capabilities
377+
// Create client without elicitation capabilities
378378
var client = clientBuilder.clientInfo(new McpSchema.Implementation("Sample client", "0.0.0")).build()) {
379379

380380
assertThat(client.initialize()).isNotNull();

mcp/src/test/java/io/modelcontextprotocol/server/transport/HttpServletSseServerTransportProviderIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ void testCreateElicitationWithoutElicitationCapabilities() {
359359
var server = McpServer.async(mcpServerTransportProvider).serverInfo("test-server", "1.0.0").tools(tool).build();
360360

361361
try (
362-
// Create client without sampling capabilities
362+
// Create client without elicitation capabilities
363363
var client = clientBuilder.clientInfo(new McpSchema.Implementation("Sample client", "0.0.0")).build()) {
364364

365365
assertThat(client.initialize()).isNotNull();

0 commit comments

Comments
 (0)