function TemplateProjectTestBase::copyCodebase

Overrides BuildTestBase::copyCodebase

1 call to TemplateProjectTestBase::copyCodebase()
TemplateProjectTestBase::createTestProject in core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php
Creates a test project from a given template and installs Drupal.

File

core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php, line 725

Class

TemplateProjectTestBase
Base class for tests which create a test site from a core project template.

Namespace

Drupal\Tests\package_manager\Build

Code

public function copyCodebase(?\Iterator $iterator = NULL, $working_dir = NULL) : void {
    parent::copyCodebase($iterator, $working_dir);
    // Create a local Composer repository for all third-party dependencies and
    // core packages.
    $this->createVendorRepository();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.