Skip to content

Commit

Permalink
Fix: Fixed failing testcases by adding required properties to Credent…
Browse files Browse the repository at this point in the history
…ialResponse
  • Loading branch information
gyaneshgouraw-okta committed Jul 25, 2024
1 parent d31952f commit ccd94a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/management/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,8 @@ describe('ClientsManager', () => {
created_at: '',
updated_at: '',
expires_at: '',
subject_dn: '',
thumbprint_sha256: '',
},
];

Expand Down Expand Up @@ -519,6 +521,8 @@ describe('ClientsManager', () => {
created_at: '',
updated_at: '',
expires_at: '',
subject_dn: '',
thumbprint_sha256: '',
};
beforeEach(() => {
request = nock(API_URL).get('/clients/123/credentials/abc').reply(200, response);
Expand Down Expand Up @@ -615,6 +619,8 @@ describe('ClientsManager', () => {
created_at: '',
updated_at: '',
expires_at: '',
subject_dn: '',
thumbprint_sha256: '',
};
let request: nock.Scope;

Expand Down Expand Up @@ -683,6 +689,8 @@ describe('ClientsManager', () => {
created_at: '',
updated_at: '',
expires_at: '',
subject_dn: '',
thumbprint_sha256: '',
};

let request: nock.Scope;
Expand Down

0 comments on commit ccd94a7

Please sign in to comment.