public function tearDown() { SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestAccountUtilities::removeAllCreatedAccounts(); SugarTestEmailUtilities::removeAllCreatedEmails(); SugarTestUserUtilities::removeAllCreatedAnonymousUsers(); unset($GLOBALS['current_user']); }
public function tearDown() { SugarTestHelper::tearDown(); SugarTestOpportunityUtilities::removeAllCreatedOpportunities(); SugarTestEmailUtilities::removeAllCreatedEmails(); SugarTestContactUtilities::removeAllCreatedContacts(); SugarTestAccountUtilities::removeAllCreatedAccounts(); $GLOBALS['app'] = $this->application; }