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.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3417528

Command icon 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

longwave created an issue. See original summary.

longwave’s picture

Status: Active » Needs review
mondrake’s picture

Issue tags: +PHPUnit 10
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Replacement seems fine, no coverage lost

  • catch committed db7c533b on 10.2.x
    Issue #3417528 by longwave: Remove withConsecutive() in...

  • catch committed e0f7856a on 11.x
    Issue #3417528 by longwave: Remove withConsecutive() in...
catch’s picture

Version: 11.x-dev » 10.2.x-dev
Status: Reviewed & tested by the community » Fixed

The 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!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.