Is there a way to create unit testing for PartnerNetworkConnection
and PartnerNetworkRecordConnection
without using live data(SeeAllData=true)?
I've been having a lot of issues trying to deploy S2S Apex unit code without using live data. I can't seem to modify any fields in those two Partner Network Connection objects. The only way I've been able to deploy to production from Sandbox is to populate production with a bunch of dummy data to pass the test.
Any ideas on how this can be done?