function DeprecatedClassesTest::testDeprecatedRawConstructorParameters

@covers \Drupal\views\Plugin\views\argument_default\Raw::__construct

@expectedDeprecation Calling \Drupal\views\Plugin\views\argument_default\Raw::__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 197

Class

DeprecatedClassesTest
Tests deprecation of path alias core service classes.

Namespace

Drupal\Tests\path_alias\Unit

Code

public function testDeprecatedRawConstructorParameters() {
    $this->assertDeprecatedConstructorParameter(Raw::class);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.