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

Fix CoreComposerValidatorTest

parent f7530fb0
No related branches found
No related tags found
1 merge request!87Issue #3245376: Move the path locator entirely to Package Manager
......@@ -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.',
......
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