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
b9604854
Commit
b9604854
authored
2 years ago
by
Adam Globus-Hoenich
Browse files
Options
Downloads
Patches
Plain Diff
workaround
parent
cae01feb
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 @
b9604854
...
@@ -384,7 +384,12 @@ END;
...
@@ -384,7 +384,12 @@ END;
// from being built correctly, among other deleterious effects. To prevent
// from being built correctly, among other deleterious effects. To prevent
// such shenanigans, always remove drupal/automatic_updates from
// such shenanigans, always remove drupal/automatic_updates from
// drupal/core-recommended.
// 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
// END: DELETE FROM CORE MERGE REQUEST
...
...
This diff is collapsed.
Click to expand it.
Adam G-H
@phenaproxima
mentioned in commit
65f709af
·
2 years ago
mentioned in commit
65f709af
mentioned in commit 65f709afb227df25645d4f4612f922ebc4f8eaac
Toggle commit list
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