From ccd94a740a1097dc8023c6113c6a339d84a78135 Mon Sep 17 00:00:00 2001 From: Gyanesh Gouraw Date: Thu, 25 Jul 2024 16:16:43 +0530 Subject: [PATCH] Fix: Fixed failing testcases by adding required properties to CredentialResponse --- test/management/client.test.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/management/client.test.ts b/test/management/client.test.ts index 6842593f8..8bfca27f0 100644 --- a/test/management/client.test.ts +++ b/test/management/client.test.ts @@ -434,6 +434,8 @@ describe('ClientsManager', () => { created_at: '', updated_at: '', expires_at: '', + subject_dn: '', + thumbprint_sha256: '', }, ]; @@ -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); @@ -615,6 +619,8 @@ describe('ClientsManager', () => { created_at: '', updated_at: '', expires_at: '', + subject_dn: '', + thumbprint_sha256: '', }; let request: nock.Scope; @@ -683,6 +689,8 @@ describe('ClientsManager', () => { created_at: '', updated_at: '', expires_at: '', + subject_dn: '', + thumbprint_sha256: '', }; let request: nock.Scope;