Problem/Motivation
To make our tests more realistic
\Drupal\Tests\package_manager\Traits\FixtureUtilityTrait::addPackage
Should make the folder changes in not just the installed.json and installed.php
Steps to reproduce
Proposed resolution
Remaining tasks
at some point we might need to make the folder changes in
\Drupal\Tests\package_manager\Traits\FixtureUtilityTrait::modifyPackage
\Drupal\Tests\package_manager\Traits\FixtureUtilityTrait::removePackage
but right now this is not needed.
User interface changes
API changes
Data model changes
Issue fork automatic_updates-3321236
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 #3
tedbowComment #4
tedbowjust getting this started
Comment #5
tedbowThese will fail at least because `type` is not set everyone.
Created #3322589: Assert 'type' key is set in FixtureUtilityTrait::addPackage
Comment #6
wim leers#3322589: Assert 'type' key is set in FixtureUtilityTrait::addPackage landed the 18th. Is this ready for review?
Comment #7
tedbowNeeds works for
Unassigning from myself because others could do this
Comment #8
omkar.podey commentedComment #9
omkar.podey commentedComment #10
omkar.podey commentedComment #11
omkar.podey commentedComment #12
wim leersI think this can be simplified slightly more.
2 remarks on the MR — this is very close!
Comment #13
omkar.podey commentedComment #14
wim leersNeeds a single line to still be removed (left a suggestion, GitLab won't allow me to apply it 🤷♂️).
Comment #15
tedbowchanging the title and summary to reflect this doesn't affect
\Drupal\Tests\package_manager\Traits\FixtureUtilityTrait::modifyPackage
\Drupal\Tests\package_manager\Traits\FixtureUtilityTrait::removePackage
Comment #16
tedbowassigning to myself to merge when green
thanks @Wim Leers and @omkar.podey!
Comment #18
tedbowComment #19
tedbow