- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestValidateRoleZeroLengthNamespace (0.25 sec)
-
pkg/apis/rbac/validation/validation_test.go
t.Errorf("expected errors to have type %s: %v", v.errType, errs[i]) } if errs[i].Field != v.field { t.Errorf("expected errors to have field %s: %v", v.field, errs[i]) } } } func TestValidateRoleZeroLengthNamespace(t *testing.T) { ValidateRoleTest{ role: rbac.Role{ ObjectMeta: metav1.ObjectMeta{Name: "default"}, }, wantErr: true, errType: field.ErrorTypeRequired, field: "metadata.namespace",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 14.1K bytes - Viewed (0)