function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

in testMethod - can AccountTeamMembers be created? what about Share objects?

I'm having trouble getting my 75% code coverage. In my testMethod, I'm creating AccountTeamMembers to go along with the Accounts I create, but in the trigger I'm trying to cover, the SOQL against AccountTeamMembers doesn't seem to be returning hits - the code w/in the loop doesn't get hit.

Also, will Share objects get created when I try to cover my customized security?