function MigrateNodeDeriverTest::testNoTranslations
Same name in this branch
- 11.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
Same name in other branches
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeDeriverTest::testNoTranslations()
- 9 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeDeriverTest::testNoTranslations()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
- 10 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeDeriverTest::testNoTranslations()
- 10 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeDeriverTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeDeriverTest::testNoTranslations()
Tests node translation migrations with translation disabled.
File
-
core/
modules/ node/ tests/ src/ Kernel/ Migrate/ d6/ MigrateNodeDeriverTest.php, line 33
Class
- MigrateNodeDeriverTest
- Test D6NodeDeriver.
Namespace
Drupal\Tests\node\Kernel\Migrate\d6Code
public function testNoTranslations() : void {
// Without content_translation, there should be no translation migrations.
$migrations = $this->pluginManager
->createInstances('d6_node_translation');
$this->assertSame([], $migrations, "No node translation migrations without content_translation");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.