You need to sign in to do that
Don't have an account?
Roll Up Helper Validation Failure
I have created a roll up field using roll up helper to count the number of attachments on an account. I tested this in the sandbox and all worked fine and I was able to run the roll up in real time. When I am trying to push over to production I am getting the below error message when validating:
Class Name: test_updatecontactrolecount
Method: testcreateopptywithconditionandrole
Error Message:
System.Exception: Assertion Failed
Stack Trace: Class.test_updatecontactrolecount.testcreateopptywithconditionandrole: line 38, column 1
Does anybody have any idea how I can fix this? I dont use Apex Class very much and I think it is this causing the issue.
Any advice would be great
Thanks
In your test class test_updatecontactrolecount.testcreateopptywithconditionandrole: line 38 you are using some system.assert statements.In system.assert statements you are getting invalid data.So that's the reason you are getting an error.
Please check once that data is existing in production or not.Otherwise, post your code so that we can help you accordingly.
Hope this helps you!
If my answer helps resolve your query, please mark it as the 'Best Answer' & upvote it to benefit others.
Thanks
Varaprasad
@For Support: varaprasad4sfdc@gmail.com