b2c-crm-sync
b2c-crm-sync copied to clipboard
[BUG] B2CProcessContact_ServiceEntry_Test.ResolveContactCustomerIDSuccess - Apex Test Fail
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to 'execute command sfdx force:apex:test:run -r json'
- See error
{
"Id": "07M1q00000EnPSDEA3",
"QueueItemId": "7091q000001XaLfAAK",
"StackTrace": "Class.B2CProcessContact_ServiceEntry_Test.testResolveContactCustomerIDSuccess: line 238, column 1",
"Message": "System.AssertException: Assertion Failed: Expected a parentAccount to be resolved",
"AsyncApexJobId": "7071q00002H84eeAAB",
"MethodName": "testResolveContactCustomerIDSuccess",
"Outcome": "Fail",
"ApexClass": {
"Id": "01p1q000000gei6AAA",
"Name": "B2CProcessContact_ServiceEntry_Test",
"NamespacePrefix": null }, "RunTime": 716, "FullName": "B2CProcessContact_ServiceEntry_Test.testResolveContactCustomerIDSuccess" }
Expected behavior All test succeeded
Screenshots
Your local environment details:
- Node version v15.2.1
- NPM version v7.0.8
- SFDX version sfdx-cli/7.173.0 win32-x64 node-v16.17.1
Your remote environment details:
- Salesforce B2C Commerce version: [e.g. 21.10]
- Salesforce Core version: [e.g. 52]
Additional context Add any other context about the problem here. apex-07L1q00000M1WzcEAF.log

I have the same issue