function ComposerIntegrationTest::testAbsoluteBinDir
Same name and namespace in other branches
- main core/tests/Drupal/Tests/Composer/ComposerIntegrationTest.php \Drupal\Tests\Composer\ComposerIntegrationTest::testAbsoluteBinDir()
Tests that an absolute bin-dir is returned unchanged.
File
-
core/
tests/ Drupal/ Tests/ Composer/ ComposerIntegrationTest.php, line 122
Class
- ComposerIntegrationTest
- Tests Composer integration.
Namespace
Drupal\Tests\ComposerCode
public function testAbsoluteBinDir() : void {
$root = $this->createProjectRoot([
'config' => [
'bin-dir' => '/opt/project/bin',
],
]);
$this->assertSame('/opt/project/bin', self::binDir($root));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.