[NFC] CRM-19033 improve standardisation of tests
[civicrm-core.git] / tests / phpunit / CRM / Member / BAO / MembershipLogTest.php
index 9e0b1c246903673aa5c5550e72c2170804c90b6d..7c1fda99272441a9c0b7ee9bd9f110c269bca5b1 100644 (file)
@@ -79,7 +79,7 @@ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
    *  Test add()
    */
   public function testadd() {
-    $contactId = Contact::createIndividual();
+    $contactId = $this->individualCreate();
 
     $params = array(
       'contact_id' => $contactId,
@@ -107,7 +107,7 @@ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
    *  Test del()
    */
   public function testdel() {
-    $contactId = Contact::createIndividual();
+    $contactId = $this->individualCreate();
 
     $params = array(
       'contact_id' => $contactId,
@@ -136,7 +136,7 @@ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase {
    *  Test resetmodified()
    */
   public function testresetmodifiedId() {
-    $contactId = Contact::createIndividual();
+    $contactId = $this->individualCreate();
 
     $params = array(
       'contact_id' => $contactId,