Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file LICENSE for license information (ASL). If you did did not receive this file, see http://www.horde.org/licenses/apache.
Author: Gunnar Wrobel (wrobel@pardus.de)
Inheritance: extends PHPUnit_Framework_TestCase
Example #1
0
 public function tearDown()
 {
     foreach ($GLOBALS['injector']->getInstance('Kronolith_Shares')->listShares('*****@*****.**') as $share) {
         $GLOBALS['injector']->getInstance('Kronolith_Shares')->removeShare($share);
     }
     $GLOBALS['injector']->setInstance('Kronolith_Factory_Calendars', null);
     parent::tearDown();
 }
Example #2
0
File: Base.php Project: horde/horde
 public function tearDown()
 {
     parent::tearDown();
     foreach ($this->_added as $added) {
         try {
             self::$driver->deleteEvent($added);
         } catch (Horde_Exception_NotFound $e) {
         }
     }
 }