You are here

public function MigrateNodeSettingStickyTest::testMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/Tests/Migrate/d6/MigrateNodeSettingStickyTest.php \Drupal\node\Tests\Migrate\d6\MigrateNodeSettingStickyTest::testMigration()

Tests migration of the sticky checkbox's settings.

File

core/modules/node/src/Tests/Migrate/d6/MigrateNodeSettingStickyTest.php, line 33
Contains \Drupal\node\Tests\Migrate\d6\MigrateNodeSettingStickyTest.

Class

MigrateNodeSettingStickyTest
@group migrate_drupal_6

Namespace

Drupal\node\Tests\Migrate\d6

Code

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