public function MigrateNodeSettingPromoteTest::testMigration in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/node/src/Tests/Migrate/d6/MigrateNodeSettingPromoteTest.php \Drupal\node\Tests\Migrate\d6\MigrateNodeSettingPromoteTest::testMigration()
Tests migration of the promote checkbox's settings.
File
- core/
modules/ node/ src/ Tests/ Migrate/ d6/ MigrateNodeSettingPromoteTest.php, line 33 - Contains \Drupal\node\Tests\Migrate\d6\MigrateNodeSettingPromoteTest.
Class
- MigrateNodeSettingPromoteTest
- @group migrate_drupal_6
Namespace
Drupal\node\Tests\Migrate\d6Code
public function testMigration() {
$this
->assertIdentical('Promoted to front page', BaseFieldOverride::load('node.article.promote')
->label());
}