function ComposerIntegrationTest::tearDown
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php \Drupal\Tests\Composer\ComposerIntegrationTest::tearDown()
File
-
core/
tests/ Drupal/ Tests/ Composer/ ComposerIntegrationTest.php, line 42
Class
- ComposerIntegrationTest
- Tests Composer integration.
Namespace
Drupal\Tests\ComposerCode
protected function tearDown() : void {
if ($this->originalBinDirEnv === FALSE) {
putenv('COMPOSER_BIN_DIR');
}
else {
putenv('COMPOSER_BIN_DIR=' . $this->originalBinDirEnv);
}
parent::tearDown();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.