function MigrateLanguageTest::testLanguageMigration

Same name in other branches
  1. 8.9.x core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageTest::testLanguageMigration()
  2. 10 core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageTest::testLanguageMigration()
  3. 11.x core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageTest.php \Drupal\Tests\language\Kernel\Migrate\d6\MigrateLanguageTest::testLanguageMigration()

Tests migration of Drupal 6 languages to configurable language entities.

File

core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageTest.php, line 47

Class

MigrateLanguageTest
@group migrate_drupal_6

Namespace

Drupal\Tests\language\Kernel\Migrate\d6

Code

public function testLanguageMigration() {
    $this->executeMigration('language');
    $this->assertLanguage('en', 'English');
    $this->assertLanguage('fr', 'French');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.