class MigrateActionConfigsTest

Same name in this branch
  1. 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionConfigsTest
Same name and namespace in other branches
  1. 11.x core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionConfigsTest
  2. 11.x core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionConfigsTest

Upgrade variables to null.

@group migrate_drupal_6

Hierarchy

Expanded class hierarchy of MigrateActionConfigsTest

File

core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php, line 13

Namespace

Drupal\Tests\system\Kernel\Migrate\d6
View source
class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
  use SchemaCheckTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'action',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected function setUp() : void {
    parent::setUp();
    $this->executeMigration('action_settings');
  }
  
  /**
   * Tests migration of action variables to null.
   */
  public function testActionSettings() {
    $config = $this->config('action.settings');
    $this->assertTrue($config->isNew());
  }

}

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