Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Drupal 9.1.x deprecation notice: AssertLegacyTrait::assertOptionSelected() is deprecated #662

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

pfrenssen
Copy link
Contributor

We were alerted in #661 that there is a new deprecation in Drupal 9.1.x:

  1x: AssertLegacyTrait::assertOptionSelected() is deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->optionExists() instead and check the "selected" attribute. See https://www.drupal.org/node/3129738

    1x in BundleFormAlterTest::testCreate from Drupal\Tests\og_ui\Functional

ref. https://travis-ci.com/github/Gizra/og/jobs/360667959

@pfrenssen
Copy link
Contributor Author

Thanks for the quick review!

@pfrenssen pfrenssen merged commit d606171 into 8.x-1.x Jul 14, 2020
@pfrenssen pfrenssen deleted the assertOptionSelected-is-deprecated branch July 14, 2020 10:23
@pfrenssen pfrenssen added this to the 8.x-1.0-alpha6 milestone Aug 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants