(t *testing.T)
| 214 | } |
| 215 | |
| 216 | func TestCreateProjectsConfig_DefaultMax(t *testing.T) { |
| 217 | compiler := NewCompiler() |
| 218 | |
| 219 | outputMap := map[string]any{ |
| 220 | "create-project": map[string]any{ |
| 221 | "target-owner": "myorg", |
| 222 | }, |
| 223 | } |
| 224 | |
| 225 | config := compiler.parseCreateProjectsConfig(outputMap) |
| 226 | require.NotNil(t, config) |
| 227 | |
| 228 | // Default max should be 1 when not specified |
| 229 | assert.Equal(t, strPtr("1"), config.Max, "Default max should be 1") |
| 230 | } |
| 231 | |
| 232 | func TestCreateProjectsConfig_ViewsParsing(t *testing.T) { |
| 233 | compiler := NewCompiler() |
nothing calls this directly
no test coverage detected