Skip to content

Commit d8ba1a8

Browse files
authored
Merge pull request #452 from koic/fix_mutex_probe_test_helper_initialize_params
Send required `initialize` params in the mutex probe test helper
2 parents e81196e + ac12f91 commit d8ba1a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/mcp/server/transports/streamable_http_transport_test.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5089,7 +5089,7 @@ def initialize_test_session(id: "init")
50895089
"POST",
50905090
"/",
50915091
{ "CONTENT_TYPE" => "application/json" },
5092-
{ jsonrpc: "2.0", method: "initialize", id: id }.to_json,
5092+
{ jsonrpc: "2.0", method: "initialize", id: id, params: initialize_params }.to_json,
50935093
)
50945094
@transport.handle_request(init_request)[1]["Mcp-Session-Id"]
50955095
end

0 commit comments

Comments
 (0)