Skip to content

Commit

Permalink
test(client_metadata): add empty string and null checks to client_nam…
Browse files Browse the repository at this point in the history
…e test
  • Loading branch information
KalleV committed Dec 3, 2023
1 parent a0af4c4 commit 35028b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/configuration/client_metadata.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ describe('Client metadata validation', () => {
context('client_name', function () {
mustBeString(this.title);
allows(this.title, 'whatever client name');
rejects(this.title, '');
rejects(this.title, null);
});

context('client_secret', function () {
Expand Down

0 comments on commit 35028b0

Please sign in to comment.