You need to sign in to do that
Don't have an account?
Shruthi GM 4
There is a process builder written for some pupose.If I deactivate it,a test class runs properly.If the process builder is active then the test class fails!
Only one method fails in the test if the process builder is active.To deploy it to other environments I am dectivating the process builder and then deploying the test class.Is there any other solution for this?
Please help.
Thanks inadvance.
Please help.
Thanks inadvance.
a.) There might be a genuine issue. Maybe an additional criteria node is required by the process builder which is causing the exception.
b.) If this is not the case you can use such test data which doesn't trigger that specific process builder.