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
viktorVviktorV 

testing connection triggers

Just a short question:

I have a trigger based on connection forwarded records.  I'd like to create a test class to hold code coverage. I have some active connections in the production system on I can write the test methods

 

I want to be sure that I won't forward the test Lead in test method, when I create a PartnerNetworkRecordConnection with an active connections Id in the test method. 

 

Thanks,

Viktor