Skip to content

Commit

Permalink
chore: fix test url
Browse files Browse the repository at this point in the history
  • Loading branch information
Brummos committed Jan 22, 2025
1 parent 5c4b66e commit d416e00
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit d416e00

Please sign in to comment.