public function MigrateNodeDeriverTest::testNoTranslations in Drupal 8
Same name in this branch
- 8 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeDeriverTest::testNoTranslations()
- 8 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
Same name and namespace in other branches
- 9 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
Test node translation migrations with translation disabled.
File
- core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d7/ MigrateNodeDeriverTest.php, line 22
Class
- MigrateNodeDeriverTest
- Test D7NodeDeriver.
Namespace
Drupal\Tests\node\Kernel\Migrate\d7Code
public function testNoTranslations() {
// Without content_translation, there should be no translation migrations.
$migrations = $this->container
->get('plugin.manager.migration')
->createInstances('d7_node_translation');
$this
->assertEmpty($migrations);
}