public function DeprecatedClassesTest::testCoreAliasManager in Drupal 8
@covers \Drupal\Core\Path\AliasManager::__construct
@expectedDeprecation The \Drupal\Core\Path\AliasManager class is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Instead, use \Drupal\path_alias\AliasManager. See https://drupal.org/node/3092086
File
- core/
modules/ path_alias/ tests/ src/ Unit/ DeprecatedClassesTest.php, line 145
Class
- DeprecatedClassesTest
- Tests deprecation of path alias core service classes.
Namespace
Drupal\Tests\path_alias\UnitCode
public function testCoreAliasManager() {
new CoreAliasManager($this->aliasRepository, $this->aliasWhitelist, $this->languageManager, $this->cache);
}