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