customsetting
The custom setting parameter in unit tests is NULL
I’m getting null
in my code here, while running a unit test, but in Execute Anonimous Window there is a right value in System.debug()
. What the hell? Maybe I should run the test as System Administrator
? If so, how to do that?
use custom settings for setting Status field of different Case Record Type
I am basically fishing for ideas here. I am a beginner, so i have a crude way of accomplishing task, but i would appreciate if someone experienced can provide some better ides.