Commit 5ed6d1ff authored by git's avatar git Committed by Matthew Radcliffe
Browse files

Issue #3290473 by Project Update Bot: Updates tests for Drupal 10 compatibility

parent d8d4da34
Loading
Loading
Loading
Loading
+4 −4
Changes for tests/src/Functional/ViewsExposedGroupsExposedOperatorTest.php: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ class ViewsExposedGroupsExposedOperatorTest extends ViewsExposedGroupsTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();

    $this->defaultView->getDisplay('default')
@@ -55,10 +55,10 @@ class ViewsExposedGroupsExposedOperatorTest extends ViewsExposedGroupsTestBase {
    $this->drupalGet($view_path);

    // Asserts that the exposed filter with an exposed operator exists.
    $this->assertFieldByName('title_op');
    $this->assertFieldByName('title');
    $this->assertSession()->fieldExists('title_op');
    $this->assertSession()->fieldExists('title');
    $fieldset_legend = $this->xpath('//fieldset/legend/span[text()="Title"]');
    $this->assertEqual(1, count($fieldset_legend), 'Found the exposed filter label as the fieldset legend.');
    $this->assertEquals(1, count($fieldset_legend), 'Found the exposed filter label as the fieldset legend.');
  }

}