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
@@ -38,7 +38,7 @@ class CoreComposerValidatorTest extends AutomaticUpdatesKernelTestBase {
// Point to a valid composer.json with no requirements.
$locator = $this->prophesize(PathLocator::class);
$locator->getActiveDirectory()->willReturn(__DIR__ . '/../../../fixtures/project_staged_validation/no_core_requirements');
$this->container->set('automatic_updates.path_locator', $locator->reveal());
$this->container->set('package_manager.path_locator', $locator->reveal());
$error = ValidationResult::createError([
'Drupal core does not appear to be required in the project-level composer.json.',
Loading