From f4f6f5d78ac57509c60b89e21130d85c817b147f Mon Sep 17 00:00:00 2001 From: vcua-mobify Date: Wed, 10 May 2023 10:38:38 -0700 Subject: [PATCH] Add additional properties to ShopperLogin test types --- .../src/hooks/ShopperLogin/mutation.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/commerce-sdk-react/src/hooks/ShopperLogin/mutation.test.ts b/packages/commerce-sdk-react/src/hooks/ShopperLogin/mutation.test.ts index 990db991db..6d88adf0f8 100644 --- a/packages/commerce-sdk-react/src/hooks/ShopperLogin/mutation.test.ts +++ b/packages/commerce-sdk-react/src/hooks/ShopperLogin/mutation.test.ts @@ -28,6 +28,7 @@ const loginEndpoint = '/shopper/auth/' // Additional properties are ignored, so we can use this mega-options object for all endpoints const OPTIONS = { parameters: { + organizationId: 'organizationId', client_id: 'client_id', refresh_token: 'token' }, @@ -60,7 +61,8 @@ const TOKEN_RESPONSE: ShopperLoginTypes.TokenResponse = { id_token: 'id_token', refresh_token: 'refresh_tone', token_type: 'token_type', - usid: 'usid' + usid: 'usid', + idp_access_token: 'idp_access_token' } // --- TEST CASES --- //