You are here

public function Twig_Tests_FileCachingTest::tearDown in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/test/Twig/Tests/FileCachingTest.php \Twig_Tests_FileCachingTest::tearDown()

Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides PHPUnit_Framework_TestCase::tearDown

File

vendor/twig/twig/test/Twig/Tests/FileCachingTest.php, line 32

Class

Twig_Tests_FileCachingTest

Code

public function tearDown() {
  if ($this->fileName) {
    unlink($this->fileName);
  }
  $this
    ->removeDir($this->tmpDir);
}