mirror of
https://github.com/humanlayer/humanlayer.git
synced 2025-08-20 19:01:22 +03:00
chore: Apply linter fixes to MCP integration tests
This commit is contained in:
@@ -109,7 +109,7 @@ func TestMCPClaudeCodeSessionIDCorrelation(t *testing.T) {
|
||||
os.Setenv("HUMANLAYER_DAEMON_SOCKET", socketPath)
|
||||
os.Setenv("HUMANLAYER_DAEMON_HTTP_PORT", fmt.Sprintf("%d", httpPort))
|
||||
os.Setenv("HUMANLAYER_DAEMON_HTTP_HOST", "127.0.0.1")
|
||||
os.Setenv("HUMANLAYER_API_KEY", "") // Disable cloud API
|
||||
os.Setenv("HUMANLAYER_API_KEY", "") // Disable cloud API
|
||||
os.Setenv("MCP_AUTO_DENY_ALL", "true") // Auto-deny for predictable responses
|
||||
|
||||
// Create isolated config
|
||||
|
||||
@@ -161,9 +161,9 @@ func TestMCPHeaderTransmission(t *testing.T) {
|
||||
"type": "http",
|
||||
"url": fmt.Sprintf("%s/mcp", baseURL),
|
||||
"headers": map[string]string{
|
||||
"X-Session-ID": testSessionID,
|
||||
"X-Custom-Header": "custom-value",
|
||||
"Authorization": "Bearer test-token",
|
||||
"X-Session-ID": testSessionID,
|
||||
"X-Custom-Header": "custom-value",
|
||||
"Authorization": "Bearer test-token",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user