MigrateActionConfigsTest.php

Namespace

Drupal\Tests\system\Kernel\Migrate\d7

File

core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\system\Kernel\Migrate\d7;

use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
use Drupal\Tests\SchemaCheckTestTrait;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\Attributes\RunTestsInSeparateProcesses;

/**
 * Upgrade variables to null.
 */
class MigrateActionConfigsTest extends MigrateDrupal7TestBase {
  use SchemaCheckTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->executeMigration('action_settings');
  }
  
  /**
   * Tests migration of action variables to null.
   */
  public function testActionSettings() : void {
    $config = $this->config('action.settings');
    $this->assertTrue($config->isNew());
  }

}

Classes

Title Deprecated Summary
MigrateActionConfigsTest Upgrade variables to null.

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