Skip to content
Snippets Groups Projects

Issue #3230507: Create build tests for case where site is using core recommended Composer project

Merged Issue #3230507: Create build tests for case where site is using core recommended Composer project
1 unresolved thread
1 unresolved thread
Compare and Show latest version
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -149,9 +149,9 @@ END;
* Uses our already-installed dependencies to build a test site to update.
*/
protected function createTestSite(): void {
// The project-level composer.json should live in workspace root directory,
// which may or may not be the same directory as the web root (i.e., where
// Drupal itself lives).
// The project-level composer.json lives in the workspace root directory,
// which may or may not be the same directory as the web root (where Drupal
// itself lives).
$composer = $this->getWorkspaceDirectory() . DIRECTORY_SEPARATOR . 'composer.json';
$this->writeJson($composer, $this->getInitialConfiguration());
$this->runComposer('update');
Loading