Be explicit about fixtures path

This commit is contained in:
Oliver Davies 2020-02-09 21:27:08 +00:00
parent 4ac7fee102
commit edf8b9a368

View file

@ -98,7 +98,7 @@ class GenerateDrupal7Command extends Command
$testNameConverter = new TestNameConverter();
/** @var SplFileInfo $file */
foreach ($this->finder->in('fixtures/drupal7_module')->files() as $file) {
foreach ($this->finder->in(__DIR__.'/../../fixtures/drupal7_module')->files() as $file) {
$filename = "{$this->machineName}.{$file->getExtension()}";
if ($file->getRelativePath()) {