/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ public function tearDown() { parent::tearDown(); if (null !== $this->previousLocale) { IntlLocale::setDefault($this->previousLocale); $this->previousLocale = null; } }
/** * Tears down the fixture, for example, close a network connection. * This method is called after a test is executed. */ public function tearDown() { $this->helper->getContainer()->exchangeArray(array()); parent::tearDown(); }