User: Add sub resource and api for user teams (#92649)

* Add sub resource for user teams

* Add test snapshots

* Update to use ref:s
This commit is contained in:
Karl Persson
2024-08-30 15:05:27 +02:00
committed by GitHub
parent 31c9084a3a
commit 294712d7ef
26 changed files with 461 additions and 149 deletions
+1 -2
View File
@@ -69,7 +69,6 @@ func TestIntegrationIdentity(t *testing.T) {
rsp, err := teamClient.Resource.List(ctx, metav1.ListOptions{})
require.NoError(t, err)
found := teamClient.SanitizeJSONList(rsp, "name")
// fmt.Printf("%s", found)
require.JSONEq(t, `{
"items": [
{
@@ -87,7 +86,7 @@ func TestIntegrationIdentity(t *testing.T) {
},
"spec": {
"email": "staff@Org1",
"name": "staff"
"title": "staff"
}
}
]