X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fpath%2Ftests%2Fsrc%2FKernel%2FMigrate%2Fd6%2FMigrateUrlAliasTest.php;fp=web%2Fcore%2Fmodules%2Fpath%2Ftests%2Fsrc%2FKernel%2FMigrate%2Fd6%2FMigrateUrlAliasTest.php;h=28f22ecc959d0d3cfb59ee5e6f3df196518a4798;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=0b22cc3ae4750229e7fd0e4b5a522262e8f598ef;hpb=74df008bdbb3a11eeea356744f39b802369bda3c;p=yaffs-website diff --git a/web/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php b/web/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php index 0b22cc3ae..28f22ecc9 100644 --- a/web/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php +++ b/web/core/modules/path/tests/src/Kernel/Migrate/d6/MigrateUrlAliasTest.php @@ -16,7 +16,14 @@ class MigrateUrlAliasTest extends MigrateDrupal6TestBase { /** * {@inheritdoc} */ - public static $modules = ['language', 'content_translation', 'path', 'menu_ui']; + public static $modules = [ + 'language', + 'content_translation', + 'path', + 'menu_ui', + // Required for translation migrations. + 'migrate_drupal_multilingual', + ]; /** * {@inheritdoc} @@ -68,7 +75,7 @@ class MigrateUrlAliasTest extends MigrateDrupal6TestBase { ]; $path = \Drupal::service('path.alias_storage')->load($conditions); $this->assertPath('1', $conditions, $path); - $this->assertIdentical($id_map->lookupDestinationID([$path['pid']]), ['1'], "Test IdMap"); + $this->assertIdentical($id_map->lookupDestinationId([$path['pid']]), ['1'], "Test IdMap"); $conditions = [ 'source' => '/node/2',