You need to sign in to do that
Don't have an account?
Test Method
Hi Guys,
I need help with the following. I have another trigger that's not listed below, which im writing a test method for. How do I send invokeGAE in the test method as false so it does not trigger the web service call out.
*note the code below are in a separate package, so in the test method how do I reference the invokeGAE
public with sharing class FieldworkerTriggerConstant {
public static boolean invokeGAE = true;
}
//Does a web service call out
trigger FieldworkerGAE on Fieldworker_Name__c (after insert, after update, after delete)
{
if(FieldworkerTriggerConstant.invokeGAE==true)
{
}
}