You are here

public function MigrateNodeConfigsTest::testNodeSettings in Zircon Profile 8

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

Tests Drupal 6 node settings to Drupal 8 migration.

File

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

Class

MigrateNodeConfigsTest
Upgrade variables to node.settings.yml.

Namespace

Drupal\node\Tests\Migrate\d6

Code

public function testNodeSettings() {
  $config = $this
    ->config('node.settings');
  $this
    ->assertIdentical(FALSE, $config
    ->get('use_admin_theme'));
  $this
    ->assertConfigSchema(\Drupal::service('config.typed'), 'node.settings', $config
    ->get());
}