Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
automatic_updates-3406812
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
automatic_updates-3406812
Commits
0723f218
Commit
0723f218
authored
2 years ago
by
Adam G-H
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3285898
by phenaproxima, tedbow: Build tests broken in 9.4.x
parent
65f709af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package_manager/tests/src/Build/TemplateProjectTestBase.php
+6
-1
6 additions, 1 deletion
package_manager/tests/src/Build/TemplateProjectTestBase.php
with
6 additions
and
1 deletion
package_manager/tests/src/Build/TemplateProjectTestBase.php
+
6
−
1
View file @
0723f218
...
...
@@ -384,7 +384,12 @@ END;
// from being built correctly, among other deleterious effects. To prevent
// such shenanigans, always remove drupal/automatic_updates from
// drupal/core-recommended.
$this
->
runComposer
(
'composer remove --no-update drupal/automatic_updates'
,
'composer/Metapackage/CoreRecommended'
);
$file
=
$this
->
getWorkspaceDirectory
()
.
'/composer/Metapackage/CoreRecommended/composer.json'
;
$this
->
assertFileIsWritable
(
$file
);
$data
=
file_get_contents
(
$file
);
$data
=
json_decode
(
$data
,
TRUE
);
unset
(
$data
[
'require'
][
'drupal/automatic_updates'
]);
file_put_contents
(
$file
,
json_encode
(
$data
,
JSON_UNESCAPED_SLASHES
|
JSON_PRETTY_PRINT
));
}
// END: DELETE FROM CORE MERGE REQUEST
...
...
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