(t *testing.T)
| 33 | } |
| 34 | |
| 35 | func TestPiEngine_GetRequiredSecretNames(t *testing.T) { |
| 36 | engine := NewPiEngine() |
| 37 | workflowData := &WorkflowData{Name: "test-workflow"} |
| 38 | secrets := engine.GetRequiredSecretNames(workflowData) |
| 39 | assert.Contains(t, secrets, "COPILOT_GITHUB_TOKEN", "Required secrets should include COPILOT_GITHUB_TOKEN") |
| 40 | assert.NotContains(t, secrets, "PI_API_KEY", "Required secrets should not include PI_API_KEY") |
| 41 | } |
| 42 | |
| 43 | func TestPiEngine_GetRequiredSecretNames_CopilotProvider(t *testing.T) { |
| 44 | engine := NewPiEngine() |
nothing calls this directly
no test coverage detected