Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
automatic_updates
Commits
915c9444
"README.md" did not exist on "a4f2506b17c145a5ceb58e9727d32c89e52d47b1"
Commit
915c9444
authored
3 years ago
by
Adam G-H
Browse files
Options
Downloads
Patches
Plain Diff
Fix CoreComposerValidatorTest
parent
f7530fb0
No related branches found
No related tags found
1 merge request
!87
Issue #3245376: Move the path locator entirely to Package Manager
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/Kernel/ReadinessValidation/CoreComposerValidatorTest.php
+1
-1
1 addition, 1 deletion
.../Kernel/ReadinessValidation/CoreComposerValidatorTest.php
with
1 addition
and
1 deletion
tests/src/Kernel/ReadinessValidation/CoreComposerValidatorTest.php
+
1
−
1
View file @
915c9444
...
...
@@ -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.'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment