X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCRM%2FMember%2FBAO%2FMembershipLogTest.php;h=7c1fda99272441a9c0b7ee9bd9f110c269bca5b1;hb=6ae19242ee2b9d90e853248ae586f8727b1f61b6;hp=48bd55647b81711ed65367e7884555ae9132ce36;hpb=674cb8b854f6008090d4dcce9372ee76346a198f;p=civicrm-core.git diff --git a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php index 48bd55647b..7c1fda9927 100644 --- a/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php +++ b/tests/phpunit/CRM/Member/BAO/MembershipLogTest.php @@ -24,14 +24,11 @@ * . */ -require_once 'CiviTest/CiviUnitTestCase.php'; -require_once 'CiviTest/Contact.php'; -require_once 'CiviTest/Membership.php'; - /** * Test CRM/Member/BAO Membership Log add , delete functions * * @package CiviCRM + * @group headless */ class CRM_Member_BAO_MembershipLogTest extends CiviUnitTestCase { @@ -82,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, @@ -110,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, @@ -139,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,