Problem/Motivation
PHPUnit is deprecating withConsecutive(), so we need to find replacements.
Steps to reproduce
Proposed resolution
We don't need to assert the order that tables or fields are created in, as long as they are created, so we can use Prophecy to do this more easily.
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3417528
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:
- 3417528-remove-withconsecutive-in
changes, plain diff MR !6343
Comments
Comment #3
longwaveComment #4
longwaveComment #5
mondrakeComment #6
smustgrave commentedReplacement seems fine, no coverage lost
Comment #9
catchThe replacement is a lot easier to read, good that this is a net improvement rather than just churn.
Committed/pushed to 11.x and cherry-picked to 10.2.x, thanks!