function MigrateNodeConfigsTest::testNodeSettings

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

Tests Drupal 6 node settings to Drupal 8 migration.

File

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

Class

MigrateNodeConfigsTest
Upgrade variables to node.settings.yml.

Namespace

Drupal\Tests\node\Kernel\Migrate\d6

Code

public function testNodeSettings() : void {
    $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.