Skip to content

Commit 74a7d5a

Browse files
ntnnCopilot
andauthored
Update pkg/registry/rbac/validation/kcp_test.go
Co-authored-by: Copilot <[email protected]>
1 parent 3dfd955 commit 74a7d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/registry/rbac/validation/kcp_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ func TestAppliesToUserWithWarrantsAndScopes(t *testing.T) {
244244
want: false,
245245
},
246246
{
247-
name: "non-cluster-aware service account as warrant", // TODO what is this supposed to test?
247+
name: "non-cluster-aware service account as warrant",
248248
user: &user.DefaultInfo{Name: "user-b", Extra: map[string][]string{WarrantExtraKey: {`{"user":"system:serviceaccount:ns:sa"}`}}},
249249
sub: rbacv1.Subject{Kind: "ServiceAccount", Namespace: "ns", Name: "sa"},
250250
want: false,

0 commit comments

Comments
 (0)