Skip to content

Commit

Permalink
add kind to source ref in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joshri authored and yiannistri committed Jul 27, 2023
1 parent cdb5487 commit d65045d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func makeImageUpdateAutomation(name string, ns corev1.Namespace) *imgautomationv
Name: name,
Namespace: ns.Name,
},
Spec: imgautomationv1.ImageUpdateAutomationSpec{},
Spec: imgautomationv1.ImageUpdateAutomationSpec{SourceRef: imgautomationv1.CrossNamespaceSourceReference{Kind: sourcev1.GitRepositoryKind}},
Status: imgautomationv1.ImageUpdateAutomationStatus{
ReconcileRequestStatus: meta.ReconcileRequestStatus{
LastHandledReconcileAt: time.Now().Format(time.RFC3339Nano),
Expand Down

0 comments on commit d65045d

Please sign in to comment.