function MigrateNodeSettingsTest::testAggregatorSettings

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeSettingsTest::testAggregatorSettings()
  2. 10 core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeSettingsTest::testAggregatorSettings()
  3. 11.x core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php \Drupal\Tests\node\Kernel\Migrate\d7\MigrateNodeSettingsTest::testAggregatorSettings()

Tests migration of node variables to node.settings config object.

File

core/modules/node/tests/src/Kernel/Migrate/d7/MigrateNodeSettingsTest.php, line 35

Class

MigrateNodeSettingsTest
Upgrade variables to node.settings config object.

Namespace

Drupal\Tests\node\Kernel\Migrate\d7

Code

public function testAggregatorSettings() {
    $config = $this->config('node.settings');
    $this->assertEqual(1, $config->get('use_admin_theme'));
}

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