b2c-crm-sync icon indicating copy to clipboard operation
b2c-crm-sync copied to clipboard

[BUG] B2CProcessContact_ServiceEntry_Test.ResolveContactCustomerIDSuccess - Apex Test Fail

Open RayMithos opened this issue 2 years ago • 1 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'execute command sfdx force:apex:test:run -r json'
  2. 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", MicrosoftTeams-image (1)

          "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

screen

RayMithos avatar Feb 16 '23 15:02 RayMithos

I have the same issue

afortuna97 avatar Sep 19 '23 06:09 afortuna97