@@ -340,7 +340,7 @@ func TestImportingUsersGroupsSecretScopes(t *testing.T) {
340340 },
341341 {
342342 Method : "GET" ,
343- Resource : "/api/2.0/preview/scim/v2/ServicePrincipals?filter=applicationId%20eq%20%27spn%27" ,
343+ Resource : "/api/2.0/preview/scim/v2/ServicePrincipals?excludedAttributes=roles& filter=applicationId%20eq%20%27spn%27" ,
344344 Response : scim.User {ID : "321" , DisplayName : "spn" , ApplicationID : "spn" ,
345345 Groups : []scim.ComplexValue {
346346 {Display : "admins" , Value : "a" , Ref : "Groups/a" , Type : "direct" },
@@ -394,7 +394,7 @@ func TestImportingUsersGroupsSecretScopes(t *testing.T) {
394394 },
395395 {
396396 Method : "GET" ,
397- Resource : "/api/2.0/preview/scim/v2/Users?filter=userName%20eq%20%27test%40test.com%27" ,
397+ Resource : "/api/2.0/preview/scim/v2/Users?excludedAttributes=roles& filter=userName%20eq%20%27test%40test.com%27" ,
398398 Response : scim.UserList {
399399 Resources : []scim.User {
400400 {
ID :
"123" ,
DisplayName :
"[email protected] " ,
UserName :
"[email protected] " },
@@ -1275,7 +1275,7 @@ func TestImportingUser(t *testing.T) {
12751275 {
12761276 Method : "GET" ,
12771277 ReuseRequest : true ,
1278- Resource : "/api/2.0/preview/scim/v2/Users?filter=userName%20eq%20%27me%27" ,
1278+ Resource : "/api/2.0/preview/scim/v2/Users?excludedAttributes=roles& filter=userName%20eq%20%27me%27" ,
12791279 Response : scim.UserList {
12801280 Resources : []scim.User {
12811281 {
@@ -1601,7 +1601,7 @@ func TestImportingDLTPipelines(t *testing.T) {
16011601 },
16021602 {
16031603 Method : "GET" ,
1604- Resource : "/api/2.0/preview/scim/v2/Users?filter=userName%20eq%20%27user%40domain.com%27" ,
1604+ Resource : "/api/2.0/preview/scim/v2/Users?excludedAttributes=roles& filter=userName%20eq%20%27user%40domain.com%27" ,
16051605 Response : scim.UserList {
16061606 Resources : []scim.User {
16071607 {
ID :
"123" ,
DisplayName :
"[email protected] " ,
UserName :
"[email protected] " },
0 commit comments