/** * Sets up the test enviroment */ public function setUp() { parent::setUp(); Text::alternate(); }
/** * Tear down environment */ public function tearDown() { parent::tearDown(); setlocale(LC_ALL, $this->default_locale); }
/** * Restores original timezone after testing. */ public function tearDown() { date_default_timezone_set($this->_original_timezone); parent::tearDown(); }