MigrateActionConfigsTest.php

Same filename in this branch
  1. 11.x core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
Same filename and directory in other branches
  1. 9 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
  2. 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
  3. 8.9.x core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
  4. 8.9.x core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
  5. 10 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
  6. 10 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php

Namespace

Drupal\Tests\system\Kernel\Migrate\d6

File

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

View source
<?php

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

use Drupal\Tests\SchemaCheckTestTrait;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;

/**
 * Upgrade variables to null.
 *
 * @group migrate_drupal_6
 */
class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
    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.