@@ -42,9 +42,15 @@ func TestDirectorySyncListUsers(t *testing.T) {
4242 },
4343 Groups : []UserGroup {
4444 UserGroup {
45- Object : "user_group_object" ,
46- ID : "directory_group_123" ,
47- Name : "Group Name" ,
45+ Object : "user_group_object" ,
46+ ID : "directory_group_123" ,
47+ Name : "Group Name" ,
48+ IdpID : "123" ,
49+ DirectoryID : "456" ,
50+ OrganizationID : "789" ,
51+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
52+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
53+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
4854 },
4955 },
5056 State : Active ,
@@ -138,9 +144,15 @@ func TestDirectorySyncGetUser(t *testing.T) {
138144 },
139145 Groups : []UserGroup {
140146 UserGroup {
141- Object : "user_group_object" ,
142- ID : "directory_group_123" ,
143- Name : "Group Name" ,
147+ Object : "user_group_object" ,
148+ ID : "directory_group_123" ,
149+ Name : "Group Name" ,
150+ IdpID : "123" ,
151+ DirectoryID : "456" ,
152+ OrganizationID : "789" ,
153+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
154+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
155+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
144156 },
145157 },
146158 State : Active ,
@@ -342,9 +354,15 @@ func TestPrimaryEmail(t *testing.T) {
342354 },
343355 Groups : []UserGroup {
344356 UserGroup {
345- Object : "user_group_object" ,
346- ID : "directory_group_123" ,
347- Name : "Group Name" ,
357+ Object : "user_group_object" ,
358+ ID : "directory_group_123" ,
359+ Name : "Group Name" ,
360+ IdpID : "123" ,
361+ DirectoryID : "456" ,
362+ OrganizationID : "789" ,
363+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
364+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
365+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
348366 },
349367 },
350368 State : Active ,
@@ -374,9 +392,15 @@ func TestPrimaryEmail(t *testing.T) {
374392 },
375393 Groups : []UserGroup {
376394 UserGroup {
377- Object : "user_group_object" ,
378- ID : "directory_group_123" ,
379- Name : "Group Name" ,
395+ Object : "user_group_object" ,
396+ ID : "directory_group_123" ,
397+ Name : "Group Name" ,
398+ IdpID : "123" ,
399+ DirectoryID : "456" ,
400+ OrganizationID : "789" ,
401+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
402+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
403+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
380404 },
381405 },
382406 State : Active ,
@@ -399,9 +423,15 @@ func TestPrimaryEmail(t *testing.T) {
399423 },
400424 Groups : []UserGroup {
401425 UserGroup {
402- Object : "user_group_object" ,
403- ID : "directory_group_123" ,
404- Name : "Group Name" ,
426+ Object : "user_group_object" ,
427+ ID : "directory_group_123" ,
428+ Name : "Group Name" ,
429+ IdpID : "123" ,
430+ DirectoryID : "456" ,
431+ OrganizationID : "789" ,
432+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
433+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
434+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
405435 },
406436 },
407437 State : Active ,
@@ -418,9 +448,15 @@ func TestPrimaryEmail(t *testing.T) {
418448 LastName : "Testz" ,
419449 Groups : []UserGroup {
420450 UserGroup {
421- Object : "user_group_object" ,
422- ID : "directory_group_123" ,
423- Name : "Group Name" ,
451+ Object : "user_group_object" ,
452+ ID : "directory_group_123" ,
453+ Name : "Group Name" ,
454+ IdpID : "123" ,
455+ DirectoryID : "456" ,
456+ OrganizationID : "789" ,
457+ CreatedAt : "2022-06-08T17:05:58.051Z" ,
458+ UpdatedAt : "2022-06-08T17:05:58.051Z" ,
459+ RawAttributes : json .RawMessage (`{"foo":"bar"}` ),
424460 },
425461 },
426462 State : Active ,
0 commit comments