function MigrateNodeSettingStickyTest::testMigration

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()
  2. 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()
  3. 10 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()

Tests migration of the sticky checkbox's settings.

File

core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php, line 30

Class

MigrateNodeSettingStickyTest
@group migrate_drupal_6

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

public function testMigration() : void {
    $this->assertSame('Sticky at the top of lists', BaseFieldOverride::load('node.article.sticky')->label());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.