[NFC] CRM-19033 improve standardisation of tests
[civicrm-core.git] / tests / phpunit / CRM / Core / BAO / CustomValueTableSetGetTest.php
index e633279f9a78d093ea1bab92b83a119805a41a9d..2759866242eee7f5bd0760e7d25fe21bda40e565 100644 (file)
@@ -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);