Loading core/tests/Drupal/BuildTests/Framework/BuildTestBase.php +4 −1 Original line number Diff line number Diff line Loading @@ -567,6 +567,10 @@ public function copyCodebase(\Iterator $iterator = NULL, $working_dir = NULL) { * - Call the method to get a default Finder object which can then be * modified for other purposes. * * Note that the vendor directory is deliberately not included in the * directory exclusions here, so that packages are copied and composer does * not attempt to download them from packagist/github during test runs. * * @return \Symfony\Component\Finder\Finder * A Finder object ready to iterate over core codebase. */ Loading @@ -577,7 +581,6 @@ public function getCodebaseFinder() { ->in($this->getDrupalRoot()) ->notPath('#^sites/default/files#') ->notPath('#^sites/simpletest#') ->notPath('#^vendor#') ->notPath('#^core/node_modules#') ->notPath('#^sites/default/settings\..*php#') ->ignoreDotFiles(FALSE) Loading core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php +0 −7 Original line number Diff line number Diff line Loading @@ -74,13 +74,6 @@ public function testCopyCodebaseExclude() { ], ], ], 'vendor' => [ 'composer' => [ 'composer' => [ 'installed.json' => '"items": {"things"}', ], ], ], 'modules' => [ 'my_module' => [ 'vendor' => [ Loading Loading
core/tests/Drupal/BuildTests/Framework/BuildTestBase.php +4 −1 Original line number Diff line number Diff line Loading @@ -567,6 +567,10 @@ public function copyCodebase(\Iterator $iterator = NULL, $working_dir = NULL) { * - Call the method to get a default Finder object which can then be * modified for other purposes. * * Note that the vendor directory is deliberately not included in the * directory exclusions here, so that packages are copied and composer does * not attempt to download them from packagist/github during test runs. * * @return \Symfony\Component\Finder\Finder * A Finder object ready to iterate over core codebase. */ Loading @@ -577,7 +581,6 @@ public function getCodebaseFinder() { ->in($this->getDrupalRoot()) ->notPath('#^sites/default/files#') ->notPath('#^sites/simpletest#') ->notPath('#^vendor#') ->notPath('#^core/node_modules#') ->notPath('#^sites/default/settings\..*php#') ->ignoreDotFiles(FALSE) Loading
core/tests/Drupal/BuildTests/Framework/Tests/BuildTestTest.php +0 −7 Original line number Diff line number Diff line Loading @@ -74,13 +74,6 @@ public function testCopyCodebaseExclude() { ], ], ], 'vendor' => [ 'composer' => [ 'composer' => [ 'installed.json' => '"items": {"things"}', ], ], ], 'modules' => [ 'my_module' => [ 'vendor' => [ Loading