Problem/Motivation
PHPUnit is deprecating withConsecutive(), so we need to find replacements.
Steps to reproduce
Proposed resolution
In two cases, we need to assert that two separate messages are logged. To me the order is unimportant as long as the messages are both logged, 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-3418178
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
longwaveComment #4
longwaveComment #5
smustgrave commentedComment was just wow that was the conversion needed.
But tests are still green and nothing broken.
Comment #7
catchYeah it's much more readable, good that these changes actually improve the tests a bit.
Committed/pushed to 11.x, thanks!