@@ -11,8 +11,8 @@ import (
1111 "github.com/githubnext/gh-aw/pkg/workflow"
1212)
1313
14- // TestMCPFieldsInIncludedFiles tests that entrypointArgs, headers, and url
15- // fields can be used in included files without schema validation errors
14+ // TestMCPFieldsInIncludedFiles tests that headers and url fields (for HTTP type)
15+ // can be used in included files without schema validation errors
1616func TestMCPFieldsInIncludedFiles (t * testing.T ) {
1717 // Create a temporary directory for test files
1818 tempDir := testutil .TempDir (t , "test-*" )
@@ -23,9 +23,7 @@ func TestMCPFieldsInIncludedFiles(t *testing.T) {
2323on: push
2424mcp-servers:
2525 test-server:
26- type: stdio
27- container: "test/mcp-server"
28- entrypointArgs: ["--arg1", "value1"]
26+ type: http
2927 url: "https://example.com/mcp"
3028 headers:
3129 Authorization: "Bearer token"
@@ -52,7 +50,7 @@ imports:
5250
5351# Test Workflow
5452
55- This workflow imports an MCP server with entrypointArgs, headers, and url fields.
53+ This workflow imports an MCP server with headers and url fields.
5654`
5755 if err := os .WriteFile (workflowPath , []byte (workflowContent ), 0644 ); err != nil {
5856 t .Fatalf ("Failed to write workflow file: %v" , err )
0 commit comments