Update contact_sub_type to ignore null values for consistency
authorColeman Watts <coleman@civicrm.org>
Tue, 11 Jun 2019 11:46:11 +0000 (07:46 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 12 Jun 2019 23:32:41 +0000 (19:32 -0400)
commitc15b56526561f860a48b97c2918e5651e9e0c8aa
treec96a09928d16512299bb9cc900d23998f5a3f9b5
parent646b54006d8ac0799ab64c91c9358ca4a12e0665
Update contact_sub_type to ignore null values for consistency

For better or worse, every other field gets ignored by bao::add functions when passed as null,
so this test had an incorrect assumption about how it was supposed to work.
CRM/Contact/BAO/Contact.php
tests/phpunit/CRM/Contact/BAO/ContactType/ContactTest.php
tests/phpunit/api/v3/ContactTest.php