You are here

public function MigrateMenuLinkTranslationTest::testMenuLinkTranslation in Drupal 9

Tests migration of menu link translations.

File

core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php, line 47

Class

MigrateMenuLinkTranslationTest
Tests Menu link translation migration.

Namespace

Drupal\Tests\menu_link_content\Kernel\Migrate\d7

Code

public function testMenuLinkTranslation() {
  $this
    ->assertEntity(467, 'fr', 'fr - Google', 'menu-test-menu', 'fr - Google description', TRUE, FALSE, [
    'attributes' => [
      'title' => 'Google',
    ],
  ], 'http://google.com', 0);
}