Issue #2687711 by chriscohen, anavarre: Drupal PHPUnit tests currently NEED the profiles directory to exist
parent
b190c705bc
commit
e81312ba48
|
@ -66,7 +66,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) {
|
|||
$paths[] = is_dir("$path/profiles") ? realpath("$path/profiles") : NULL;
|
||||
$paths[] = is_dir("$path/themes") ? realpath("$path/themes") : NULL;
|
||||
}
|
||||
return array_filter($paths);
|
||||
return array_filter($paths, 'file_exists');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue