You are here

public function MigrateLanguageTest::testLanguageMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Tests/Migrate/MigrateLanguageTest.php \Drupal\language\Tests\Migrate\MigrateLanguageTest::testLanguageMigration()

Tests migration of Drupal 6 languages to configurable language entities.

File

core/modules/language/src/Tests/Migrate/MigrateLanguageTest.php, line 50
Contains \Drupal\language\Tests\Migrate\MigrateLanguageTest.

Class

MigrateLanguageTest
@group migrate_drupal_6

Namespace

Drupal\language\Tests\Migrate

Code

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