dev/core#2039 Fix OpenID::add to ensure is_primary is set
authoreileen <emcnaughton@wikimedia.org>
Thu, 17 Sep 2020 00:41:59 +0000 (12:41 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 17 Sep 2020 03:49:47 +0000 (15:49 +1200)
commita725865da460020ddb9cd1ce82974a5b985702a6
treeb6b348d603bc5b90ed177d436e3057b9392afe9d
parentf7ca027c817f58d62a40e6aff3936a5a4b1f6eae
dev/core#2039 Fix OpenID::add to ensure is_primary is set

In my efforts to determine the the non-performant line of code that makes sure IM is set is
not required I edited tests to track down when is_primary is not correct & determined it
is missing from the add function - same as https://github.com/civicrm/civicrm-core/pull/18489 for IM
CRM/Core/BAO/OpenID.php
tests/phpunit/api/v3/OpenIDTest.php