@@ -398,9 +398,9 @@ describe('VcIssuer', () => {
398398 const stateManager = new MemoryStates < CredentialOfferSession > ( )
399399 testVcIssuer = new VcIssuerBuilder ( )
400400 . withAuthorizationMetadata ( authorizationServerMetadata )
401- . withCredentialEndpoint ( 'http://localhost:4000 /credential-endpoint' )
402- . withDefaultCredentialOfferBaseUri ( 'http://localhost:4000 ' )
403- . withCredentialIssuer ( 'http://localhost:4000 ' )
401+ . withCredentialEndpoint ( 'http://localhost:4321 /credential-endpoint' )
402+ . withDefaultCredentialOfferBaseUri ( 'http://localhost:4321 ' )
403+ . withCredentialIssuer ( 'http://localhost:4321 ' )
404404 . withIssuerDisplay ( { name : 'test issuer' , locale : 'en-US' } )
405405 . withCredentialConfigurationsSupported ( { } )
406406 . withCredentialOfferStateManager ( stateManager )
@@ -436,7 +436,7 @@ describe('VcIssuer', () => {
436436 )
437437 . build ( )
438438
439- testExpressSupport = ExpressBuilder . fromServerOpts ( { startListening : false , port : 4000 , hostname : 'localhost' } ) . build ( {
439+ testExpressSupport = ExpressBuilder . fromServerOpts ( { startListening : false , port : 4321 , hostname : 'localhost' } ) . build ( {
440440 startListening : false ,
441441 } )
442442
@@ -445,16 +445,16 @@ describe('VcIssuer', () => {
445445 }
446446
447447 const endpointOpts = {
448- getIssuePayloadOpts : { enabled : true , baseUrl : 'http://localhost:4000 ' } ,
449- createCredentialOfferOpts : { enabled : true , baseUrl : 'http://localhost:4000 ' } ,
448+ getIssuePayloadOpts : { enabled : true , baseUrl : 'http://localhost:4321 ' } ,
449+ createCredentialOfferOpts : { enabled : true , baseUrl : 'http://localhost:4321 ' } ,
450450 tokenEndpointOpts : {
451451 accessTokenSignerCallback : dummyAccessTokenSignerCallback ,
452452 } ,
453453 }
454454
455455 testServer = new OID4VCIServer ( testExpressSupport , {
456456 issuer : testVcIssuer ,
457- baseUrl : 'http://localhost:4000 ' ,
457+ baseUrl : 'http://localhost:4321 ' ,
458458 endpointOpts,
459459 } )
460460 testExpressSupport . start ( )
0 commit comments