@@ -1240,16 +1240,14 @@ describe("Single sig service of agent", () => {
12401240 }
12411241 ) ;
12421242 expect ( updateIdentifierMock ) . toBeCalledWith ( groupMemberMetadataRecord . id , {
1243- name : `XX-QOP7zdP-kJs8nlwVR290XfyAk:${
1244- groupMemberMetadataRecord . groupMetadata ! . groupId
1245- } :${ groupMemberMetadataRecord . displayName } `,
1243+ name : `1.2.0.2:XX-QOP7zdP-kJs8nlwVR290XfyAk:1:group-id:testUser:${ groupMemberMetadataRecord . displayName } ` ,
12461244 } ) ;
12471245 expect ( identifierStorage . updateIdentifierMetadata ) . toBeCalledWith (
12481246 groupMetadataRecord . id ,
12491247 { isDeleted : true , pendingDeletion : false }
12501248 ) ;
12511249 expect ( updateIdentifierMock ) . toBeCalledWith ( groupMetadataRecord . id , {
1252- name : `XX-0ADQpus-mQmmO4mgWcT3ekDz:${ groupMetadataRecord . displayName } ` ,
1250+ name : `1.2.0.2: XX-0ADQpus-mQmmO4mgWcT3ekDz:${ groupMetadataRecord . displayName } ` ,
12531251 } ) ;
12541252 expect ( markNotificationMock ) . toBeCalledWith ( findNotificationsResult [ 0 ] . id ) ;
12551253 expect ( notificationStorage . deleteById ) . toBeCalledWith (
@@ -1717,7 +1715,7 @@ describe("Single sig service of agent", () => {
17171715 { isDeleted : true , pendingDeletion : false }
17181716 ) ;
17191717 expect ( updateIdentifierMock ) . toBeCalledWith ( identifierMetadataRecord . id , {
1720- name : `XX-0ADQpus-mQmmO4mgWcT3ekDz:${ identifierMetadataRecord . displayName } ` ,
1718+ name : `1.2.0.2: XX-0ADQpus-mQmmO4mgWcT3ekDz:${ identifierMetadataRecord . displayName } ` ,
17211719 } ) ;
17221720 expect ( markNotificationMock ) . toBeCalledWith ( findNotificationsResult [ 0 ] . id ) ;
17231721 expect ( notificationStorage . deleteById ) . toBeCalledWith (
@@ -1847,7 +1845,7 @@ describe("Single sig service of agent", () => {
18471845 { isDeleted : true , pendingDeletion : false }
18481846 ) ;
18491847 expect ( updateIdentifierMock ) . toBeCalledWith ( identifierMetadataRecord . id , {
1850- name : `XX-0ADQpus-mQmmO4mgWcT3ekDz:${ identifierMetadataRecord . displayName } ` ,
1848+ name : `1.2.0.2: XX-0ADQpus-mQmmO4mgWcT3ekDz:${ identifierMetadataRecord . displayName } ` ,
18511849 } ) ;
18521850 expect ( markNotificationMock ) . toBeCalledWith ( findNotificationsResult [ 0 ] . id ) ;
18531851 expect ( notificationStorage . deleteById ) . toBeCalledWith (
@@ -1922,7 +1920,7 @@ describe("Single sig service of agent", () => {
19221920 { isDeleted : true , pendingDeletion : false }
19231921 ) ;
19241922 expect ( updateIdentifierMock ) . toBeCalledWith ( groupMemberMetadataRecord . id , {
1925- name : `XX-0ADQpus-mQmmO4mgWcT3ekDz:${ groupMemberMetadataRecord . displayName } ` ,
1923+ name : `1.2.0.2: XX-0ADQpus-mQmmO4mgWcT3ekDz:1: ${ groupMemberMetadataRecord . groupMetadata ?. groupId } : ${ groupMemberMetadataRecord . groupMetadata ?. proposedUsername } :${ groupMemberMetadataRecord . displayName } ` ,
19261924 } ) ;
19271925 expect ( markNotificationMock ) . toBeCalledWith ( findNotificationsResult [ 0 ] . id ) ;
19281926 expect ( notificationStorage . deleteById ) . toBeCalledWith (
@@ -2028,16 +2026,14 @@ describe("Single sig service of agent", () => {
20282026 }
20292027 ) ;
20302028 expect ( updateIdentifierMock ) . toBeCalledWith ( groupMemberMetadataRecord . id , {
2031- name : `XX-QOP7zdP-kJs8nlwVR290XfyAk:${
2032- groupMemberMetadataRecord . groupMetadata ! . groupId
2033- } :${ groupMemberMetadataRecord . displayName } `,
2029+ name : `1.2.0.2:XX-QOP7zdP-kJs8nlwVR290XfyAk:1:group-id:testUser:${ groupMemberMetadataRecord . displayName } ` ,
20342030 } ) ;
20352031 expect ( identifierStorage . updateIdentifierMetadata ) . toBeCalledWith (
20362032 groupMetadataRecord . id ,
20372033 { isDeleted : true , pendingDeletion : false }
20382034 ) ;
20392035 expect ( updateIdentifierMock ) . toBeCalledWith ( groupMetadataRecord . id , {
2040- name : `XX-0ADQpus-mQmmO4mgWcT3ekDz:${ groupMetadataRecord . displayName } ` ,
2036+ name : `1.2.0.2: XX-0ADQpus-mQmmO4mgWcT3ekDz:${ groupMetadataRecord . displayName } ` ,
20412037 } ) ;
20422038 expect ( markNotificationMock ) . toBeCalledWith ( findNotificationsResult [ 0 ] . id ) ;
20432039 expect ( notificationStorage . deleteById ) . toBeCalledWith (
0 commit comments