You are here

public function MigrateLanguageTest::testLanguageMigration in Drupal 8

Same name and namespace in other branches
  1. 9 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 45

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');
}