You need to sign in to do that
Don't have an account?

Test class for select id from ObjectTerritory2Association
Hi , I need to create a test class for ObjectTerritory2Association.
I have ObjectTerritory2Association activated in my org. It is working properly but when inside a test class I insert an account , if I query on ObjectTerritory2Association it is empty.
How am I supposed to create a test class for this?
Thanks
I have ObjectTerritory2Association activated in my org. It is working properly but when inside a test class I insert an account , if I query on ObjectTerritory2Association it is empty.
How am I supposed to create a test class for this?
Thanks