(testApp string)
| 583 | } |
| 584 | |
| 585 | func createFakeApp(testApp string) *v1alpha1.Application { |
| 586 | var app v1alpha1.Application |
| 587 | err := yaml.Unmarshal([]byte(testApp), &app) |
| 588 | if err != nil { |
| 589 | panic(err) |
| 590 | } |
| 591 | return &app |
| 592 | } |
| 593 | |
| 594 | func newFakeCM() map[string]any { |
| 595 | var cm map[string]any |
no test coverage detected