From ae5d7b2cc23b7de5ab5834216c2e8b12ff37c9a6 Mon Sep 17 00:00:00 2001 From: Vincent Marta Date: Wed, 4 Jan 2023 16:20:38 -0800 Subject: [PATCH] test-commerce: comment out not-implemented customer hooks --- .../app/pages/use-shopper-customer.tsx | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/test-commerce-sdk-react/app/pages/use-shopper-customer.tsx b/packages/test-commerce-sdk-react/app/pages/use-shopper-customer.tsx index 699b0521ce..509e9928e9 100644 --- a/packages/test-commerce-sdk-react/app/pages/use-shopper-customer.tsx +++ b/packages/test-commerce-sdk-react/app/pages/use-shopper-customer.tsx @@ -107,19 +107,19 @@ function UseCustomer() { body: {firstName: `Kobe${RANDOM_STR}`}, parameters: {customerId: CUSTOMER_ID} }, - { - action: 'updateCustomerPassword', - body: {currentPassword: 'Test12345!', password: 'Test1234!'}, - parameters: {customerId: CUSTOMER_ID} - }, + // { + // action: 'updateCustomerPassword', + // body: {currentPassword: 'Test12345!', password: 'Test1234!'}, + // parameters: {customerId: CUSTOMER_ID} + // }, // TODO: Not working in PWA Kit Today. Potentially related to the issue scoping tokens // https://pwa-kit.mobify-storefront.com/global/en-GB/reset-password // {"type":"https://api.commercecloud.salesforce.com/documentation/error/v1/errors/unauthorized","title":"Unauthorized","detail":"Your access-token is invalid and could not be used to identify the API client."} - { - action: 'getResetPasswordToken', - body: {login: 'kobe@test.com'}, - parameters: {} - }, + // { + // action: 'getResetPasswordToken', + // body: {login: 'kobe@test.com'}, + // parameters: {} + // }, { action: 'createCustomerAddress', body: {addressId: `TestAddress${RANDOM_STR}`, countryCode: 'CA', lastName: 'Murphy'},