You are here

public function BrowserTestBaseTest::testBuildXPathQuery in Drupal 9

Tests legacy buildXPathQuery().

@group legacy

File

core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php, line 359

Class

BrowserTestBaseTest
Tests BrowserTestBase functionality.

Namespace

Drupal\FunctionalTests

Code

public function testBuildXPathQuery() {
  $this
    ->expectDeprecation('AssertLegacyTrait::buildXPathQuery() is deprecated in drupal:8.2.0 and is removed from drupal:10.0.0. Use $this->assertSession()->buildXPathQuery() instead. See https://www.drupal.org/node/3129738');
  $this
    ->buildXPathQuery('\\html');
}