Fix createEmployerRelationship to work with the data it has when doing a lookup,...
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 18 Jan 2022 06:04:01 +0000 (19:04 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 26 May 2022 20:44:59 +0000 (08:44 +1200)
commitd4fd16100252a88fb637fc0bac08478d4a9e8df9
treece6e89e0a1fafef44b2cb913c3f2a5f46e239ce5
parent7c63299da7a32fa3d7c5fbc550b8f45cb2351928
Fix createEmployerRelationship to work with the data it has when doing a lookup, test

The duplicate check has a bug in it but also it's really complicated
give we specifically know the ids & type and not any other values
CRM/Contact/BAO/Contact/Utils.php
tests/phpunit/CRM/Dedupe/MergerTest.php
tests/phpunit/api/v3/RelationshipTest.php