From d416e00689dd9662de8f67e1e903ddb6568c9bfb Mon Sep 17 00:00:00 2001 From: "A.G.J. Cate" Date: Wed, 22 Jan 2025 14:12:43 +0100 Subject: [PATCH] chore: fix test url --- .../lib/__tests__/authorizationChallengeCodeServer.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/issuer-rest/lib/__tests__/authorizationChallengeCodeServer.spec.ts b/packages/issuer-rest/lib/__tests__/authorizationChallengeCodeServer.spec.ts index 5e1beed8..0b66e384 100644 --- a/packages/issuer-rest/lib/__tests__/authorizationChallengeCodeServer.spec.ts +++ b/packages/issuer-rest/lib/__tests__/authorizationChallengeCodeServer.spec.ts @@ -18,7 +18,7 @@ import { OID4VCIServer } from '../OID4VCIServer' const authorizationServerMetadata = new AuthorizationServerMetadataBuilder() .withIssuer('test-issuer') - .withAuthorizationChallengeEndpoint('http://localhost:3456/test/authorize-challenge') + .withAuthorizationChallengeEndpoint('http://localhost:9000/authorize-challenge') .withResponseTypesSupported(['code', 'token', 'id_token']) .build() @@ -98,8 +98,8 @@ describe('OID4VCIServer', () => { it('should return http code 400 with error invalid_request', async () => { const res = await requests(app) - .post('/authorize-challenge') - .send(`client_id=${uuidv4()}`) + .post('/authorize-challenge') + .send(`client_id=${uuidv4()}`) expect(res.statusCode).toEqual(400) const actual = JSON.parse(res.text) expect(actual).toEqual({