Beispiel #1
0
 /**
  * tearDown method
  *
  * @return void
  */
 public function tearDown()
 {
     parent::tearDown();
     Time::setTestNow($this->now);
     Time::setDefaultLocale($this->locale);
     Time::resetToStringFormat();
     FrozenTime::setTestNow($this->frozenNow);
     FrozenTime::setDefaultLocale($this->locale);
     FrozenTime::resetToStringFormat();
     date_default_timezone_set('UTC');
     I18n::locale(I18n::DEFAULT_LOCALE);
 }