/** * tearDown * * @return void */ public function tearDown() { parent::tearDown(); CakeSession::clear(); CakeSession::destroy(); ClassRegistry::flush(); }
/** * tearDown * * @return void */ public function tearDown() { parent::tearDown(); if (CakeSession::started()) { CakeSession::clear(); CakeSession::destroy(); } ClassRegistry::flush(); }