@@ -184,7 +184,7 @@ describe('Credential Request Client with different issuers ', () => {
184184 . build ( )
185185 . createCredentialRequest ( {
186186 proofInput : {
187- proof_type : 'JWT ' ,
187+ proof_type : 'jwt ' ,
188188 jwt : getMockData ( 'spruce' ) ?. credential . request . proof . jwt as string ,
189189 } ,
190190 credentialTypes : 'OpenBadgeCredential' ,
@@ -208,7 +208,7 @@ describe('Credential Request Client with different issuers ', () => {
208208 . build ( )
209209 . createCredentialRequest ( {
210210 proofInput : {
211- proof_type : 'JWT ' ,
211+ proof_type : 'jwt ' ,
212212 jwt : getMockData ( 'walt' ) ?. credential . request . proof . jwt as string ,
213213 } ,
214214 credentialTypes : [ 'OpenBadgeCredential' ] ,
@@ -231,7 +231,7 @@ describe('Credential Request Client with different issuers ', () => {
231231 . build ( )
232232 . createCredentialRequest ( {
233233 proofInput : {
234- proof_type : 'JWT ' ,
234+ proof_type : 'jwt ' ,
235235 jwt : getMockData ( 'uniissuer' ) ?. credential . request . proof . jwt as string ,
236236 } ,
237237 credentialIdentifier : 'OpenBadgeCredential' ,
@@ -253,7 +253,7 @@ describe('Credential Request Client with different issuers ', () => {
253253 . build ( )
254254 . createCredentialRequest ( {
255255 proofInput : {
256- proof_type : 'JWT ' ,
256+ proof_type : 'jwt ' ,
257257 jwt : getMockData ( 'mattr' ) ?. credential . request . proof . jwt as string ,
258258 } ,
259259 credentialTypes : [ 'OpenBadgeCredential' ] ,
@@ -276,7 +276,7 @@ describe('Credential Request Client with different issuers ', () => {
276276 . build ( )
277277 . createCredentialRequest ( {
278278 proofInput : {
279- proof_type : 'JWT ' ,
279+ proof_type : 'jwt ' ,
280280 jwt : getMockData ( 'diwala' ) ?. credential . request . proof . jwt as string ,
281281 } ,
282282 credentialTypes : [ 'OpenBadgeCredential' ] ,
@@ -318,7 +318,7 @@ describe('Credential Request Client with different issuers ', () => {
318318 . build ( )
319319 . createCredentialRequest ( {
320320 proofInput : {
321- proof_type : 'JWT ' ,
321+ proof_type : 'jwt ' ,
322322 jwt : getMockData ( 'diwala' ) ?. credential . request . proof . jwt as string ,
323323 } ,
324324 credentialIdentifier : 'BevoegdheidUittreksel_jwt_vc_json' ,
@@ -337,7 +337,7 @@ describe('Credential Request Client with different issuers ', () => {
337337 expect ( credentialRequest . credential_identifier ) . toEqual ( 'BevoegdheidUittreksel_jwt_vc_json' ) ;
338338 expect ( credentialRequest . proof ) . toEqual ( {
339339 jwt : 'eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ejZNa3AxM3N6QUFMVFN0cDV1OGtMcnl5YW5vYWtrVWtFUGZXazdvOHY3dms0RW1KI3o2TWtwMTNzekFBTFRTdHA1dThrTHJ5eWFub2Fra1VrRVBmV2s3bzh2N3ZrNEVtSiJ9.eyJhdWQiOiJodHRwczovL29pZGM0dmMuZGl3YWxhLmlvIiwiaWF0IjoxNjgxOTE1MDk1LjIwMiwiZXhwIjoxNjgxOTE1NzU1LjIwMiwiaXNzIjoic3BoZXJlb246c3NpLXdhbGxldCIsImp0aSI6IjYxN2MwM2EzLTM3MTUtNGJlMy1hYjkxNzM4MTlmYzYxNTYzIn0.KA-cHjecaYp9FSaWHkz5cqtNyhBIVT_0I7cJnpHn03T4UWFvdhjhn8Hpe-BU247enFyWOWJ6v3NQZyZgle7xBA' ,
340- proof_type : 'JWT ' ,
340+ proof_type : 'jwt ' ,
341341 } ) ;
342342 } ) ;
343343} ) ;
0 commit comments