[NFC] Test cleanup to stop calling Email::add action which does not handle primary
authoreileen <emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 20:36:34 +0000 (08:36 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 16 Sep 2020 20:36:34 +0000 (08:36 +1200)
commit4354c90715d2e8a6694c4243640be315a0f50125
tree689caccc95bc7905356d5b214c45dcadc60ea919
parent907b9f2954f04e2bbc604282788d363e88226eac
[NFC] Test cleanup to stop calling Email::add action which does not handle primary

Note I feel like we should further
1) move the contents of email add into create
2) make add a deprecated wrapper for create

Whatever the vision of different add vs create functions it didn't turn out in practice and seems to
only generate confusion. We recommend apiv4 as the preferred create methodology
tests/phpunit/CRM/Contact/BAO/ContactTest.php
tests/phpunit/CRM/Core/DAOTest.php