(testApp string, status health.HealthStatusCode, timestamp metav1.Time)
| 566 | } |
| 567 | |
| 568 | func createFakeAppWithHealthAndTime(testApp string, status health.HealthStatusCode, timestamp metav1.Time) *v1alpha1.Application { |
| 569 | app := createFakeApp(testApp) |
| 570 | app.Status.Health = v1alpha1.AppHealthStatus{ |
| 571 | Status: status, |
| 572 | LastTransitionTime: ×tamp, |
| 573 | } |
| 574 | return app |
| 575 | } |
| 576 | |
| 577 | func newFakeAppWithDestMismatch() *v1alpha1.Application { |
| 578 | return createFakeApp(fakeAppWithDestMismatch) |
no test coverage detected