@@ -776,8 +776,8 @@ func TestSearchAllUsersSuccess(t *testing.T) {
776776 {Field : "nono" , Desc : true },
777777 {Field : "lolo" , Desc : false },
778778 },
779- TenantRoleIDs : map [string ][] string {"tenant1" : {"id1" , "id2" }},
780- TenantRoleNames : map [string ][] string {"tenant2" : {"name1" , "name2" }},
779+ TenantRoleIDs : map [string ]* descope. RoleList {"tenant1" : {Values : [] string { "id1" , "id2" } }},
780+ TenantRoleNames : map [string ]* descope. RoleList {"tenant2" : {Values : [] string { "name1" , "name2" } }},
781781 })
782782 require .NoError (t , err )
783783 require .NotNil (t , res )
@@ -808,8 +808,8 @@ func TestSearchAllTestUsersSuccess(t *testing.T) {
808808 }, response ))
809809 res , _ , err := m .User ().SearchAllTestUsers (context .Background (), & descope.UserSearchOptions {
810810 Emails : []
string {
"[email protected] " },
811- TenantRoleIDs : map [string ][] string {"tenant1" : {"id1" , "id2" }},
812- TenantRoleNames : map [string ][] string {"tenant2" : {"name1" , "name2" }},
811+ TenantRoleIDs : map [string ]* descope. RoleList {"tenant1" : {Values : [] string { "id1" , "id2" } }},
812+ TenantRoleNames : map [string ]* descope. RoleList {"tenant2" : {Values : [] string { "name1" , "name2" } }},
813813 })
814814 require .NoError (t , err )
815815 require .NotNil (t , res )
0 commit comments