You are here

public function MigrateNodeSettingStatusTest::testMigration in Drupal 8

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

Tests migration of the publishing status checkbox's settings.

File

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

Class

MigrateNodeSettingStatusTest
@group migrate_drupal_6

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

public function testMigration() {
  $this
    ->assertIdentical('Publishing status', BaseFieldOverride::load('node.article.status')
    ->label());
}