Skip to content

Commit

Permalink
add created by to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nieomylnieja committed Feb 5, 2025
1 parent ca99c5e commit 652832a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/v1alpha_annotation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,7 @@ func assertV1alphaAnnotationsAreEqual(t *testing.T, expected, actual v1alphaAnno
assert.False(t, actual.Status.IsSystem)
}
actual.Status = nil
assert.Regexp(t, userIDRegexp, actual.Spec.CreatedBy)
actual.Spec.CreatedBy = ""
assert.Equal(t, expected, actual)
}

0 comments on commit 652832a

Please sign in to comment.