3 namespace Drupal\Tests\node\Kernel\Migrate\d6;
5 use Drupal\Tests\SchemaCheckTestTrait;
6 use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
9 * Upgrade variables to node.settings.yml.
11 * @group migrate_drupal_6
13 class MigrateNodeConfigsTest extends MigrateDrupal6TestBase {
15 use SchemaCheckTestTrait;
20 protected function setUp() {
22 $this->executeMigration('d6_node_settings');
26 * Tests Drupal 6 node settings to Drupal 8 migration.
28 public function testNodeSettings() {
29 $config = $this->config('node.settings');
30 $this->assertIdentical(FALSE, $config->get('use_admin_theme'));
31 $this->assertConfigSchema(\Drupal::service('config.typed'), 'node.settings', $config->get());