You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when deploying to production we are getting apex class errors:
To Reproduce
Steps to reproduce the behavior:
Execute
set up VS code - b2c crm code setup
and execute:
sfdx force:source:deploy -p "./src/sfdc/base" -l RunLocalTests
Expected behavior
B2C related test cases should be executed without error
Your local environment details:
Node version (node -v): v16.17.0
SFDX version (sfdx -v) [sfdx-cli/7.166.1 win32-x64 node-v16.17.0
Your remote environment details:
Salesforce B2C Commerce version: [e.g. 21.10]
B2CIACustomerResolution_Test
testResolveByB2CCustomerIDSingleResult
System.AssertException: Assertion Failed: Expected the customerResolution class to return at least one (1) recordStack Trace: Class.B2CIACustomerResolution_TestHelper.validateSingleResult: line 143, column 1 Class.B2CIACustomerResolution_Test.testResolveByB2CCustomerIDSingleResult: line 210, column 1
System.AssertException: Assertion Failed: Expected the customerResolution class to return at least one (1) recordStack Trace: Class.B2CIACustomerResolution_TestHelper.validateSingleResult: line 143, column 1 Class.B2CIACustomerResolution_Test.testResolveByB2CCustomerIDSingleResultFromMultiple: line 270, column 1
The text was updated successfully, but these errors were encountered:
Having multiple test class errors during Production Deployment. It's strange that I got 0 errors during sandbox deployment. @mkulshershtha were you able to figure these out?
Describe the bug
when deploying to production we are getting apex class errors:
To Reproduce
Steps to reproduce the behavior:
Execute
set up VS code - b2c crm code setup
and execute:
sfdx force:source:deploy -p "./src/sfdc/base" -l RunLocalTests
Expected behavior
B2C related test cases should be executed without error
Your local environment details:
Node version (
node -v
): v16.17.0SFDX version (
sfdx -v
) [sfdx-cli/7.166.1 win32-x64 node-v16.17.0Your remote environment details:
The text was updated successfully, but these errors were encountered: