Beispiel #1
0
 /**
  * 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;
     }
 }
Beispiel #2
0
 /**
  * This method is called before the first test of this test class is run.
  */
 public static function setUpBeforeClass()
 {
     parent::setUpBeforeClass();
     static::$helperCtorArgs = array(new SiteInfo(array('subdomain' => 'sub', 'domain' => 'zork.test', 'fulldomain' => 'sub.zork.test')));
 }
Beispiel #3
0
 /**
  * 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();
 }