feat: add a phpunit.xml.dist file for Drupal

Fixes #15
This commit is contained in:
Oliver Davies 2023-03-03 21:59:26 +00:00
parent 5f1c8afa9c
commit 3449ec5390
2 changed files with 40 additions and 0 deletions

View file

@ -112,6 +112,9 @@ final class BuildConfigurationCommand extends Command
if (null === Arr::get($configurationData, 'drupal.docroot')) {
Arr::set($configurationData, 'drupal.docroot', 'web');
}
// Add a Drupal version of phpunit.xml.dist.
$this->filesToGenerate->push(['drupal-project/phpunit.xml.dist', 'phpunit.xml.dist']);
}
$this->generateFiles($configurationData);