public function tearDown() { SugarTestUserUtilities::removeAllCreatedAnonymousUsers(); SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestContactUtilities::removeCreatedContactsEmailAddresses(); unset($this->form); unset($this->contact1); }
public function tearDown() { $GLOBALS["db"]->query("DELETE FROM inbound_email WHERE id = '{$this->ie->id}'"); $GLOBALS["db"]->query("DELETE FROM cases WHERE name = '{$this->ie->casename}'"); SugarTestAccountUtilities::removeAllCreatedAccounts(); SugarTestContactUtilities::removeCreatedContactsEmailAddresses(); SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestHelper::tearDown(); }
protected function tearDown() { SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestContactUtilities::removeCreatedContactsEmailAddresses(); SugarTestContactUtilities::removeCreatedContactsUsersRelationships(); SugarTestMeetingUtilities::removeAllCreatedMeetings(); SugarTestMeetingUtilities::removeMeetingContacts(); SugarTestMeetingUtilities::removeMeetingUsers(); SugarTestHelper::tearDown(); }