}
protected function setUp(): void {
+ parent::setUp();
$this->contact = \CRM_Core_DAO::createTestObject('CRM_Contact_DAO_Contact', [
'contact_type' => 'Individual',
]);
protected function tearDown(): void {
$this->contact->delete();
+ parent::tearDown();
}
/**
}
protected function setUp(): void {
+ parent::setUp();
$this->contact = \CRM_Core_DAO::createTestObject('CRM_Contact_DAO_Contact', [
'contact_type' => 'Individual',
]);
protected function tearDown(): void {
$this->contact->delete();
+ parent::tearDown();
}
public static function getSubscribedEvents() {
}
protected function setUp(): void {
+ parent::setUp();
/** @var \CRM_Contact_DAO_Contact $contact */
$contact = \CRM_Core_DAO::createTestObject('CRM_Contact_DAO_Contact', [
'contact_type' => 'Individual',