X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FFinancial%2FBAO%2FFinancialTypeTest.php;h=2ec30f8f5caa3dd1e4e7818dc3108c6402818eef;hb=6ae19242ee2b9d90e853248ae586f8727b1f61b6;hp=6ab87869483f4caaac0cd262f011cfda260908ca;hpb=214c46b390ed4fe9c13ceee5564d9c8c52333261;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php index 6ab8786948..2ec30f8f5c 100644 --- a/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php +++ b/tests/phpunit/CRM/Financial/BAO/FinancialTypeTest.php @@ -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;