Scalr\Tests\WebTestCase::tearDown PHP Method

tearDown() protected method

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

示例#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