Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] B2CProcessContact_ServiceEntry_Test.ResolveContactCustomerIDSuccess - Apex Test Fail #225

Open
RayMithos opened this issue Feb 16, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@RayMithos
Copy link

RayMithos commented Feb 16, 2023

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 RayMithos added the bug Something isn't working label Feb 16, 2023
@afortuna97
Copy link

I have the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants