* <http://www.gnu.org/licenses/>.
*/
-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 {
* Test add()
*/
public function testadd() {
- $contactId = Contact::createIndividual();
+ $contactId = $this->individualCreate();
$params = array(
'contact_id' => $contactId,
* Test del()
*/
public function testdel() {
- $contactId = Contact::createIndividual();
+ $contactId = $this->individualCreate();
$params = array(
'contact_id' => $contactId,
* Test resetmodified()
*/
public function testresetmodifiedId() {
- $contactId = Contact::createIndividual();
+ $contactId = $this->individualCreate();
$params = array(
'contact_id' => $contactId,