Ejemplo n.º 1
0
 /**
  * Tears down the fixture
  * This method is called after a test is executed.
  *
  * @access protected
  */
 protected function tearDown()
 {
     // delete email account
     foreach ($this->_objects['addedUsers'] as $user) {
         $this->_backend->inspectDeleteUser($user);
     }
 }
 /**
  * Tears down the fixture
  * This method is called after a test is executed.
  *
  * @access protected
  */
 protected function tearDown()
 {
     // delete email account
     foreach ($this->_objects['addedUsers'] as $user) {
         $this->_backend->inspectDeleteUser($user);
     }
     foreach ($this->_objects['fullUsers'] as $user) {
         Tinebase_User::getInstance()->deleteUser($user);
     }
 }