Skip to content
Snippets Groups Projects

Issue #3245376: Move the path locator entirely to Package Manager

Merged Adam G-H requested to merge issue/automatic_updates-3245376:3245376-move-the-path into 8.x-2.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -49,7 +49,7 @@ class FileSystemOperationsTest extends AutomaticUpdatesFunctionalTestBase {
@@ -49,7 +49,7 @@ class FileSystemOperationsTest extends AutomaticUpdatesFunctionalTestBase {
// active directory, and has a staging area within the site directory for
// active directory, and has a staging area within the site directory for
// this test.
// this test.
$drupal_root = $this->getDrupalRoot();
$drupal_root = $this->getDrupalRoot();
/** @var \Drupal\automatic_updates\PathLocator|\Prophecy\Prophecy\ObjectProphecy $locator */
/** @var \Drupal\package_manager\PathLocator|\Prophecy\Prophecy\ObjectProphecy $locator */
$locator = $this->prophesize(PathLocator::class);
$locator = $this->prophesize(PathLocator::class);
$locator->getActiveDirectory()->willReturn(__DIR__ . '/../../fixtures/fake-site');
$locator->getActiveDirectory()->willReturn(__DIR__ . '/../../fixtures/fake-site');
$this->stageDir = implode(DIRECTORY_SEPARATOR, [
$this->stageDir = implode(DIRECTORY_SEPARATOR, [
Loading