Commit e81312ba authored by alexpott's avatar alexpott

Issue #2687711 by chriscohen, anavarre: Drupal PHPUnit tests currently NEED...

Issue #2687711 by chriscohen, anavarre: Drupal PHPUnit tests currently NEED the profiles directory to exist
parent b190c705
......@@ -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');
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment