You are here

public function MigrateNodeSettingStickyTest::testMigration in Drupal 8

Same name and namespace in other branches
  1. 9 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 28

Class

MigrateNodeSettingStickyTest
@group migrate_drupal_6

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

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