Scalr\Tests\WebTestCase::tearDown PHP Méthode

tearDown() protected méthode

See also: PHPUnit_Framework_TestCase::tearDown()
protected tearDown ( )
    protected function tearDown()
    {
        $this->env = null;
        $this->user = null;
        error_reporting($this->errorLevel);
        parent::tearDown();
    }

Usage Example

Exemple #1
0
 /**
  * {@inheritdoc}
  * @see PHPUnit_Framework_TestCase::tearDown()
  */
 public function tearDown()
 {
     if (\Scalr::getContainer()->initialized('user')) {
         \Scalr::getContainer()->release('user');
     }
     unset($this->logger);
     parent::tearDown();
 }
All Usage Examples Of Scalr\Tests\WebTestCase::tearDown