Pass in activity type rather than calculate it
authoreileen <emcnaughton@wikimedia.org>
Sun, 13 Sep 2020 21:30:05 +0000 (09:30 +1200)
committereileen <emcnaughton@wikimedia.org>
Sun, 13 Sep 2020 21:30:05 +0000 (09:30 +1200)
commit75ae745c394fcc771e614f8984efb3d6e0c47894
treede751fdfb3c70ddb17ad5f6546e12e9c0e2fad56
parentce894ca34273d485807fb32007dcd1f648659ec1
Pass in activity type rather than calculate it

This line is hit in CRM_Event_BAO_ParticipantTest.testCreate
api_v3_ContributionTest.testCompleteTransactionWithParticipantRecord

I think we should be moving the logic back to the calling functions in general - to the point of them
just callling the v4 api directly, but this just clarifies on tiny bit
CRM/Event/BAO/Participant.php