function MigrateNodeSettingStatusTest::testMigration
Same name in other branches
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStatusTest::testMigration()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStatusTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStatusTest::testMigration()
- 11.x 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 33
Class
- MigrateNodeSettingStatusTest
- @group migrate_drupal_6
Namespace
Drupal\Tests\node\Kernel\Migrate\d6Code
public function testMigration() : void {
$this->assertSame('Publishing status', BaseFieldOverride::load('node.article.status')->label());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.