You are here

public function DeprecatedClassesTest::testDeprecatedRequestPathConstructorParameters in Drupal 8

@covers \Drupal\system\Plugin\Condition\RequestPath::__construct

@expectedDeprecation Calling \Drupal\system\Plugin\Condition\RequestPath::__construct with \Drupal\Core\Path\AliasManagerInterface instead of \Drupal\path_alias\AliasManagerInterface is deprecated in drupal:8.8.0. The new service will be required in drupal:9.0.0. See https://www.drupal.org/node/3092086

File

core/modules/path_alias/tests/src/Unit/DeprecatedClassesTest.php, line 188

Class

DeprecatedClassesTest
Tests deprecation of path alias core service classes.

Namespace

Drupal\Tests\path_alias\Unit

Code

public function testDeprecatedRequestPathConstructorParameters() {
  $this
    ->assertDeprecatedConstructorParameter(RequestPath::class);
}