You are here

public function MigrateNodeSettingPromoteTest::testMigration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingPromoteTest::testMigration()

Tests migration of the promote checkbox's settings.

File

core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingPromoteTest.php, line 28

Class

MigrateNodeSettingPromoteTest
@group migrate_drupal_6

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

public function testMigration() {
  $this
    ->assertIdentical('Promoted to front page', BaseFieldOverride::load('node.article.promote')
    ->label());
}