Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Given warning
@expectedDeprecation Calling AssertLegacyTrait::assertNoRaw() with more that one argument is deprecated in drupal:8.2.0 and the method is removed from drupal:10.0.0. Use $this->assertSession()->responseContains() instead. See https://www.drupal.org/node/3129738
Proposed resolution
should be :
@expectedDeprecation Calling AssertLegacyTrait::assertNoRaw() with more that one argument is deprecated in drupal:8.2.0 and the method is removed from drupal:10.0.0. Use $this->assertSession()->responseNotContains() instead. See https://www.drupal.org/node/3129738
Comment | File | Size | Author |
---|---|---|---|
Corrected_deprectation_warning_message.patch | 2.29 KB | anmolgoyal74 | |
Comments
Comment #2
mondrakeThank you
Comment #3
alexpottCommitted beebdc0 and pushed to 9.1.x. Thanks!