Skip to content
Snippets Groups Projects
Commit 03aea348 authored by Adam G-H's avatar Adam G-H
Browse files

DEBUG

parent b3abe4b4
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ namespace Drupal\Tests\package_manager\Functional;
use Drupal\Core\Site\Settings;
use Drupal\package_manager\PathLocator;
use Drupal\package_manager\Stage;
use Drupal\package_manager\StageException;
use Drupal\Tests\BrowserTestBase;
/**
......@@ -57,7 +58,18 @@ class ExcludedPathsTest extends BrowserTestBase {
$this->container->get('package_manager.cleaner'),
$this->container->get('event_dispatcher')
);
$stage->create();
try {
$stage->create();
}
catch (StageException $e) {
foreach ($e->getResults() as $result) {
print_r($result->getSummary() . "\n");
foreach ($result->getMessages() as $message) {
print_r($message . "\n");
}
}
throw $e;
}
$this->assertDirectoryExists($stage_dir);
$this->assertDirectoryNotExists("$stage_dir/sites/simpletest");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment