X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2FCRM%2FCore%2FBAO%2FCustomValueTableSetGetTest.php;h=2759866242eee7f5bd0760e7d25fe21bda40e565;hb=f2040bc69ff64d2d34aacf399e8ea095f26ad4e6;hp=e633279f9a78d093ea1bab92b83a119805a41a9d;hpb=f612371d7083c7835021b8992ce12b5ff01217a9;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php index e633279f9a..2759866242 100644 --- a/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php +++ b/tests/phpunit/CRM/Core/BAO/CustomValueTableSetGetTest.php @@ -15,7 +15,7 @@ class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase { */ public function testSetGetValuesDate() { $params = array(); - $contactID = Contact::createIndividual(); + $contactID = $this->individualCreate(); //create Custom Group $customGroup = Custom::createGroup($params, 'Individual', TRUE); @@ -114,7 +114,7 @@ class CRM_Core_BAO_CustomValueTableSetGetTest extends CiviUnitTestCase { */ public function testSetGetValuesYesNoRadio() { $params = array(); - $contactID = Contact::createIndividual(); + $contactID = $this->individualCreate(); //create Custom Group $customGroup = Custom::createGroup($params, 'Individual', TRUE);