You need to sign in to do that
Don't have an account?
Jasril Dane Caliwag
hi everyone please help me to make a test class on my class
here is my code:
global static String setExperienceId(String expId) { // Return null if there is no error, else it will return the error message try { if (expId != null) { Site.setExperienceId(expId); } return null; } catch (Exception ex) { return ex.getMessage(); } }
Please try the below test class:
Please make it best if it helps you.
Thanks,
Akshay