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

Pushing to Production #100

Closed
alvogt opened this issue Mar 2, 2021 · 2 comments
Closed

Pushing to Production #100

alvogt opened this issue Mar 2, 2021 · 2 comments

Comments

@alvogt
Copy link

alvogt commented Mar 2, 2021

I can't uninstall Production and reinstall. So, I am trying to push from our Partial Sandbox to Production in pieces. I am encountering a bunch of Apex Test class errors. I'm just trying the push the two SFDC Apex files and test classes. Can you help me with this error?

SFDCAccessControllerTest testAccessControl System.AssertException: Assertion Failed: Expected: false, Actual: trueStack Trace: Class.SFDCAccessControllerTest.testAccessControl: line 141, column 1
@jrattanpal
Copy link
Collaborator

It seems you have same issue as earlier user. You can find details at #94

In summary, you have enabled https://help.salesforce.com/articleView?id=000328426&type=1&mode=1 and that is causing the test to fail.

You can temporarily disable that and install these classes. Or you can change that code to remove that test.

It's in https://github.com/SalesforceLabs/survey-force/blob/master/force-app/main/default/classes/SFDCAccessControllerTest.cls (line#141 and 142)

@jrattanpal
Copy link
Collaborator

Closing as per #101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants