diff --git a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php index fbafb2e..a5e8dd0 100644 --- a/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php +++ b/core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTest.php @@ -29,7 +29,7 @@ protected function setUp() { $this->installEntitySchema('menu_link_content'); $this->installEntitySchema('node'); $node = Node::create([ - 'nid' => 3, + 'nid' => 2, 'title' => 'node link test', 'type' => 'article', ]); @@ -91,7 +91,7 @@ public function testMenuLinks() { $this->assertEntity(470, 'Ask', static::MENU_NAME, NULL, TRUE, FALSE, [], 'http://ask.com', 0); $this->assertEntity(245, 'Home', 'main', NULL, TRUE, FALSE, [], 'internal:/', 0); $this->assertEntity(478, 'custom link test', 'admin', NULL, TRUE, FALSE, ['attributes' => ['title' => '']], 'internal:/admin/content', 0); - $this->assertEntity(479, 'node link test', 'tools', 'node 3', TRUE, FALSE, ['attributes' => ['title' => 'node 3']], 'entity:node/3', 3); + $this->assertEntity(479, 'node link test', 'tools', 'node 2', TRUE, FALSE, ['attributes' => ['title' => 'node 2']], 'entity:node/2', 3); $menu_link_tree_service = \Drupal::service('menu.link_tree'); $parameters = new MenuTreeParameters(); diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal7.php b/core/modules/migrate_drupal/tests/fixtures/drupal7.php index 0bd4821..f4eace6 100644 --- a/core/modules/migrate_drupal/tests/fixtures/drupal7.php +++ b/core/modules/migrate_drupal/tests/fixtures/drupal7.php @@ -20216,10 +20216,10 @@ 'menu_name' => 'navigation', 'mlid' => '479', 'plid' => '0', - 'link_path' => 'node/3', - 'router_path' => 'node/3', + 'link_path' => 'node/2', + 'router_path' => 'node/2', 'link_title' => 'node link test', - 'options' => 'a:1:{s:10:"attributes";a:1:{s:5:"title";s:6:"node 3";}}', + 'options' => 'a:1:{s:10:"attributes";a:1:{s:5:"title";s:6:"node 2";}}', 'module' => 'menu', 'hidden' => '0', 'external' => '0',