Problem/Motivation
Discovered in #3316368-44: Remove our runtime dependency on composer/composer: remove ComposerUtility.
See:
getData()assertOriginalFixturePackagesUnchanged()testAddPackage()testModifyPackageConfig()- …
These rely on parsing composer/vendor/installed.json, which is not public Composer API, but something internal.
Proposed resolution
That should be able to use ComposerInspector now — so we can stop relying on composer/vendor/installed.json 😊
Or … in quite a few of these cases, it could be argued that the test coverage was only necessary when we were still using ComposerUtility, which #3316368: Remove our runtime dependency on composer/composer: remove ComposerUtility removed… ⚠️
⇒ this can only be worked on by @phenaproxima or @tedbow
Remaining tasks
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork automatic_updates-3347165
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
wim leersComment #3
wim leersUnblocked!
Comment #4
phenaproximaI was not involved with creating FixtureManipulator, so I think this falls squarely within @tedbow's wheelhouse.
Comment #7
tedbowComment #8
wim leersComment #9
phenaproximaA couple of minor things but this makes sense overall, +1 RTBC.
Comment #10
wim leersSolid remarks :)
Comment #11
phenaproximaLooks like there are merge conflicts. I'm not sure how to resolve them; reassigning to @tedbow for that.
Comment #12
kunal.sachdev commentedComment #13
kunal.sachdev commentedI tried to resolve the merge conflicts but not sure if it is correct.
Comment #14
kunal.sachdev commentedComment #15
phenaproximaI think this looks really good. Few very tiny things, but after that I think this can go to @tedbow for final review.
Comment #16
kunal.sachdev commentedComment #17
tedbowComment #18
tedbowComment #19
phenaproximaComment #21
phenaproximaFinally!
Comment #22
wim leersSo much simpler! 🤩