diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal7.php b/core/modules/migrate_drupal/tests/fixtures/drupal7.php index 329de05..6d6cc49 100644 --- a/core/modules/migrate_drupal/tests/fixtures/drupal7.php +++ b/core/modules/migrate_drupal/tests/fixtures/drupal7.php @@ -43150,13 +43150,13 @@ ->values(array( 'pid' => '4', 'source' => 'node/4', - 'alias' => 'firefly', + 'alias' => 'firefly-is', 'language' => 'is', )) ->values(array( 'pid' => '5', 'source' => 'node/5', - 'alias' => 'firefly-en', + 'alias' => 'firefly', 'language' => 'en', )) ->execute(); diff --git a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php index bf2e4ee..18452fe 100644 --- a/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php +++ b/core/modules/path/tests/src/Kernel/Migrate/d7/MigrateUrlAliasTest.php @@ -14,13 +14,13 @@ class MigrateUrlAliasTest extends MigrateDrupal7TestBase { /** * {@inheritdoc} */ - public static $modules = array( + public static $modules = [ 'content_translation', 'language', 'node', 'path', 'text', - ); + ]; /** * {@inheritdoc} @@ -75,13 +75,13 @@ public function testUrlAliasWithTranslatedNodes() { $this->assertSame('is', $path['langcode']); // Alias for the 'The thing about Firefly' node in Icelandic. - $path = $alias_storage->load(['alias' => '/firefly']); + $path = $alias_storage->load(['alias' => '/firefly-is']); $this->assertSame('/node/4', $path['source']); $this->assertSame('is', $path['langcode']); // Alias for the 'The thing about Firefly' English translation, // which should now point to node/4 instead of node/5. - $path = $alias_storage->load(['alias' => '/firefly-en']); + $path = $alias_storage->load(['alias' => '/firefly']); $this->assertSame('/node/4', $path['source']); $this->assertSame('en', $path['langcode']); }