[NFC] CRM-19033 improve standardisation of tests
[civicrm-core.git] / tests / phpunit / CRM / Financial / BAO / FinancialTypeTest.php
index 6ab87869483f4caaac0cd262f011cfda260908ca..2ec30f8f5caa3dd1e4e7818dc3108c6402818eef 100644 (file)
@@ -229,7 +229,7 @@ class CRM_Financial_BAO_FinancialTypeTest extends CiviUnitTestCase {
    * Check method testcheckPermissionedLineItems()
    */
   public function testcheckPermissionedLineItems() {
-    $contactId = Contact::createIndividual();
+    $contactId = $this->individualCreate();
     $paramsSet['title'] = 'Price Set' . substr(sha1(rand()), 0, 4);
     $paramsSet['name'] = CRM_Utils_String::titleToVar($paramsSet['title']);
     $paramsSet['is_active'] = TRUE;