public function tearDown() { $this->relateField->delete($this->df); $this->rc->repairAndClearAll(array("rebuildExtensions", "clearVardefs"), array("Contact"), false, false); SugarTestAccountUtilities::removeAllCreatedAccounts(); SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestHelper::tearDown(); }
public function tearDown() { if ($this->accountFieldWidget) { $this->accountFieldWidget->delete($this->accountField); } if ($this->opportunityFieldWidget) { $this->opportunityFieldWidget->delete($this->opportunityField); } $repair = new RepairAndClear(); $repair->repairAndClearAll(array('rebuildExtensions', 'clearVardefs'), array($GLOBALS['beanList']['Accounts'], $GLOBALS['beanList']['Opportunities']), true, false); $_REQUEST = $_POST = array(); SugarTestHelper::tearDown(); }
public function saveIdLabel($idLabelName, $df) { parent::saveIdLabel($idLabelName, $df); }