File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/template-retail-react-app/app/pages/account Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ afterEach(() => {
5757} )
5858
5959test ( 'Allows customer to edit phone number' , async ( ) => {
60- sdk . useCustomerType . mockReturnValue ( { isRegistered : true , uido : 'ecom' } )
60+ sdk . useCustomerType . mockReturnValue ( { isRegistered : true , isExternal : false } )
6161
6262 global . server . use (
6363 rest . get ( '*/customers/:customerId' , ( req , res , ctx ) =>
@@ -95,7 +95,7 @@ test('Allows customer to edit phone number', async () => {
9595} )
9696
9797test ( 'Non ECOM user cannot see the password card' , async ( ) => {
98- sdk . useCustomerType . mockReturnValue ( { isRegistered : true , uido : 'Google' } )
98+ sdk . useCustomerType . mockReturnValue ( { isRegistered : true , isExternal : true } )
9999
100100 global . server . use (
101101 rest . get ( '*/customers/:customerId' , ( req , res , ctx ) =>
You can’t perform that action at this time.
0 commit comments