class MigrateNodeConfigsTest

Same name and namespace in other branches
  1. 11.x core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php \Drupal\Tests\node\Kernel\Migrate\d6\MigrateNodeConfigsTest

Upgrade variables to node.settings.yml.

@group migrate_drupal_6

Hierarchy

Expanded class hierarchy of MigrateNodeConfigsTest

File

core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeConfigsTest.php, line 13

Namespace

Drupal\Tests\node\Kernel\Migrate\d6
View source
class MigrateNodeConfigsTest extends MigrateDrupal6TestBase {
  use SchemaCheckTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->executeMigration('d6_node_settings');
  }
  
  /**
   * Tests Drupal 6 node settings to Drupal 8 migration.
   */
  public function testNodeSettings() {
    $config = $this->config('node.settings');
    $this->assertFalse($config->get('use_admin_theme'));
    $this->assertConfigSchema(\Drupal::service('config.typed'), 'node.settings', $config->get());
  }

}

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