diff --git a/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php b/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php index 55a0114..5f5d368 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php @@ -169,8 +169,8 @@ function testWhitelist() { // Create AliasManager and Path object. $whitelist = new AliasWhitelist('path_alias_whitelist', $memoryCounterBackend, $this->container->get('lock'), $this->container->get('state'), $connection); - $aliasManager = new AliasManager($connection, $whitelist, $this->container->get('language_manager')); $path = new Path($connection, $this->container->get('module_handler')); + $aliasManager = new AliasManager($path, $whitelist, $this->container->get('language_manager')); // No alias for user and admin yet, so should be NULL. $this->assertNull($whitelist->get('user'));