public function annotatedCommandCase::setupModulesForTests

master annotatedCommandTest.php public annotatedCommandCase::setupModulesForTests($root)
1 call to annotatedCommandCase::setupModulesForTests()

File

tests/annotatedCommandTest.php, line 151

Namespace

Unish

Class

annotatedCommandCase
@group base

Code

public function setupModulesForTests($root) {
  $wootModule = __DIR__ . '/resources/modules/d' . UNISH_DRUPAL_MAJOR_VERSION . '/woot';
  $targetDir = $root . DIRECTORY_SEPARATOR . $this->drupalSitewideDirectory() . '/modules/woot';
  $this->mkdir($targetDir);
  $this->recursive_copy($wootModule, $targetDir);
}