Skip to content

Commit

Permalink
test(client_metadata): add test for null jwks
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleV committed Dec 1, 2023
1 parent e256bb3 commit 48232dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/configuration/client_metadata.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1749,6 +1749,7 @@ describe('Client metadata validation', () => {
rejects(this.title, { keys: [value] }, 'client JSON Web Key Set is invalid');
});
rejects('jwks', 'string', 'client JSON Web Key Set is invalid');
rejects('jwks', null, 'client JSON Web Key Set is invalid');
rejects(this.title, {}, 'client JSON Web Key Set is invalid');
rejects(this.title, 1, 'client JSON Web Key Set is invalid');
rejects(this.title, 0, 'client JSON Web Key Set is invalid');
Expand Down

0 comments on commit 48232dd

Please sign in to comment.