createSut example


  public function scaffoldSut($fixture_name$is_link = FALSE, $relocated_docroot = TRUE) {
    $sut = $this->createSut($fixture_name['SYMLINK' => $is_link ? 'true' : 'false']);
    // Run composer install to get the dependencies we need to test.     $this->fixtures->runComposer("install --no-ansi --no-scripts --no-plugins", $sut);
    // Test drupal:scaffold.     $scaffoldOutput = $this->fixtures->runScaffold($sut);

    // Calculate the docroot directory and assert that our fixture layout     // matches what was stipulated in $relocated_docroot. Fail fast if     // the caller provided the wrong value.     $docroot = $sut;
    if ($relocated_docroot) {
      $docroot .= '/docroot';
      
Home | Imprint | This part of the site doesn't use cookies.