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
RelaxItsJustCodeRelaxItsJustCode 

OpportunitySplit Test Code please help. Kudos given to anyone that helps me resolve this.

It seems I need to take the opportunity owner and the extra opportunitysplit user and insert them both at the same time in the test code but I cannot seem to workaround this to create a opportunitysplit in test code.

Please advise what does it take apex test code wise to create a opportunitysplit 50/50 between two users on an opportunity?

Kudos given to anyone that has a winning answer.

Thank you,
Steve