3 namespace Drupal\Tests\node\Kernel\Migrate\d6;
5 use Drupal\Core\Field\Entity\BaseFieldOverride;
6 use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
9 * @group migrate_drupal_6
11 class MigrateNodeSettingStickyTest extends MigrateDrupal6TestBase {
13 public static $modules = ['node', 'text', 'menu_ui'];
18 protected function setUp() {
20 $this->installConfig(['node']);
21 $this->executeMigration('d6_node_type');
22 $this->executeMigration('d6_node_setting_sticky');
26 * Tests migration of the sticky checkbox's settings.
28 public function testMigration() {
29 $this->assertIdentical('Sticky at the top of lists', BaseFieldOverride::load('node.article.sticky')->label());