- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValidateRoleZeroLengthName (0.23 sec)
-
pkg/apis/rbac/validation/validation_test.go
role: rbac.Role{ ObjectMeta: metav1.ObjectMeta{Name: "default"}, }, wantErr: true, errType: field.ErrorTypeRequired, field: "metadata.namespace", }.test(t) } func TestValidateRoleZeroLengthName(t *testing.T) { ValidateRoleTest{ role: rbac.Role{ ObjectMeta: metav1.ObjectMeta{Namespace: "default"}, }, wantErr: true, errType: field.ErrorTypeRequired, field: "metadata.name",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 14.1K bytes - Viewed (0)