function MigrateNodeSettingStickyTest::testMigration
Same name in other branches
- 9 core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()
- 8.9.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()
- 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 33
Class
- MigrateNodeSettingStickyTest
- @group migrate_drupal_6
Namespace
Drupal\Tests\node\Kernel\Migrate\d6Code
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.