Problem/Motivation

AssertLegacyTrait::assertNoOption() is deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->optionNotExists() instead.

See: https://api.drupal.org/api/drupal/core%21tests%21Drupal%21FunctionalTests%21AssertLegacyTrait.php/function/AssertLegacyTrait%3A%3AassertOption/9.2.x

CommentFileSizeAuthor
#2 3214635-2.patch1.99 KBpaulocs
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

paulocs created an issue. See original summary.

paulocs’s picture

Assigned: paulocs » Unassigned
Status: Active » Needs review
FileSize
1.99 KB
guilhermevp’s picture

Status: Needs review » Reviewed & tested by the community

Patch successfully updates tests! Moving to RTBC!

nord102’s picture

Confirmed that the patch from #2 applies cleanly and updates the tests as expected.

  • paulocs authored 8199349 on 8.x-1.x
    Issue #3214635 by paulocs: AssertLegacyTrait::assert(No)Option is...
nord102’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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