Custom apex test classes

By default, when running custom apex test classes you will not have access to any existing data in the org to include the custom settings that Resource Hero code relies on. An easy way to create these custom settings is to add the below code to your testSetup method or to an individual test.

ResourceHeroApp.RHA_Utility rhau = new ResourceHeroApp.RHA_Utility();
 rhau.createAllCustomSettings();

Related Support Posts:

Ready to get started?

Schedule a call to see if Resource Hero is right for you

Book now