Fix the retrieveContact test fail on asserting relatiotionship for current
authorAnthony Nemirovsky <anemirovsky@giantrabbit.com>
Wed, 23 Apr 2014 23:24:18 +0000 (16:24 -0700)
committerAnthony Nemirovsky <anemirovsky@giantrabbit.com>
Wed, 23 Apr 2014 23:24:18 +0000 (16:24 -0700)
commit900c5b9c341b8f5eeb346941da4ec891b02bb417
tree56892788be8c464b4e7b734d470f15e5db63e183
parent68d6b897b10ec82e276280d07d9614c79561639d
Fix the retrieveContact test fail on asserting relatiotionship for current
employer.

The test was checking for a relationship to an organization contact with an
ID of 1, but that was the ID of the individual contact record that's created
at the start of this test function. I've fixed this by explicitly creating an
organization contact and using that for the current employer relationship, so
we always know what the contact ID of the organization record will be.
tests/phpunit/CRM/Contact/BAO/ContactTest.php