The following assertions have been deprecated:
assertEqual()
assertNotEqual()
assertOption()

They need to be replaced by:
assertEquals()
assertNotEquals()
assertSession()->optionExists()

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

Spokje created an issue. See original summary.

spokje’s picture

Assigned: spokje » Unassigned
Status: Active » Needs review
spokje’s picture

The mentioned two Coding Standard Messages in tests/src/FunctionalJavascript/InlineEntityFormTestBase.php were already present in the 8.x-1.x-dev branch (See: https://www.drupal.org/pift-ci-job/1877431)

geek-merlin’s picture

Status: Needs review » Reviewed & tested by the community

Yah, this MR does what the deprecation notices say. Good to get in. So valuable!

  • geek-merlin committed 9cec345 on 8.x-1.x authored by Spokje
    Issue #3183939 by Spokje, geek-merlin: Replace deprecated assertions
    
geek-merlin’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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