(t *testing.T)
| 418 | } |
| 419 | |
| 420 | func TestMultiDocCozystack_PreReleaseVersion(t *testing.T) { |
| 421 | // Pre-release v1.12 versions should still use multi-doc format |
| 422 | output := renderChartTemplate(t, "../../charts/cozystack", "templates/controlplane.yaml", "v1.12.0-alpha.1") |
| 423 | |
| 424 | assertContains(t, output, "kind: HostnameConfig") |
| 425 | assertContains(t, output, "kind: RegistryMirrorConfig") |
| 426 | assertNotContains(t, output, " interfaces:") |
| 427 | } |
| 428 | |
| 429 | func TestMultiDocCozystack_TwoComponentVersion(t *testing.T) { |
| 430 | // Two-component version string (v1.12 without patch) should work |
nothing calls this directly
no test coverage detected