Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis Vidal Ernst committed Jun 1, 2021
1 parent fa8473c commit c4ab675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/cronjobber/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func TestGetJobFromTemplate(t *testing.T) {
if err != nil {
t.Errorf("Did not expect error: %s", err)
}
if (job.ObjectMeta.Name == "mycronjob") {
if (job.ObjectMeta.GenerateName == "mycronjob") {
t.Errorf("Wrong Name")
}
if len(job.ObjectMeta.Labels) != 1 {
Expand Down

0 comments on commit c4ab675

Please sign in to comment.