(t *testing.T)
| 427 | } |
| 428 | |
| 429 | func TestMultiDocCozystack_TwoComponentVersion(t *testing.T) { |
| 430 | // Two-component version string (v1.12 without patch) should work |
| 431 | output := renderChartTemplate(t, "../../charts/cozystack", "templates/controlplane.yaml", "v1.12") |
| 432 | |
| 433 | assertContains(t, output, "kind: HostnameConfig") |
| 434 | assertContains(t, output, "kind: RegistryMirrorConfig") |
| 435 | assertNotContains(t, output, " interfaces:") |
| 436 | } |
| 437 | |
| 438 | func TestLegacyCozystack_NrHugepages(t *testing.T) { |
| 439 | // Test nr_hugepages is rendered correctly in legacy format |
nothing calls this directly
no test coverage detected