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
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion og_ui/tests/src/Functional/BundleFormAlterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function testCreate() {
$this->drupalGet('admin/structure/types/add');
$this->submitForm($edit, new TranslatableMarkup('Save content type'));
$this->content = $this->drupalGet('admin/structure/types/manage/class');
$this->assertOptionSelected('edit-og-target-bundles', 'school');
$this->assertTrue($this->assertSession()->optionExists('edit-og-target-bundles', 'school')->isSelected());
$this->assertTargetType('block_content', 'The target type is set to the "Custom Block" entity type.');
$this->assertTargetBundles(['school' => 'school'], 'The target bundles are set to the "school" bundle.');

Expand Down