Skip to content

Commit 3b2bd8d

Browse files
author
klapaudius
committed
Update MCP route loader test to verify support for optional trailing slash
1 parent fe40ef3 commit 3b2bd8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Routing/Loader/McpRouteLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function test_only_streamable_http_provider_enabled_routes(): void
4747

4848
// Verify route path
4949
$streamableRoute = $routes->get('klp_mcp_server_streamable_http');
50-
$this->assertEquals('/mcp', $streamableRoute->getPath());
50+
$this->assertEquals('/mcp{trailingSlash}', $streamableRoute->getPath());
5151
}
5252

5353
public function test_both_providers_enabled_routes(): void

0 commit comments

Comments
 (0)