class MigrateActionConfigsTest
Same name in this branch
- 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
- 11.x core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionConfigsTest
- 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
- class \Drupal\KernelTests\KernelTestBase extends \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\KernelTests\AssertLegacyTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\ExtensionListTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\Traits\PhpUnitWarnings, \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait implements \PHPUnit\Framework\TestCase
- class \Drupal\Tests\migrate\Kernel\MigrateTestBase extends \Drupal\migrate\MigrateMessageInterface implements \Drupal\KernelTests\KernelTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase implements \Drupal\Tests\migrate\Kernel\MigrateTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase uses \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait implements \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase
- class \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionConfigsTest uses \Drupal\Tests\SchemaCheckTestTrait implements \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase
- class \Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase uses \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait implements \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase implements \Drupal\Tests\migrate\Kernel\MigrateTestBase
- class \Drupal\Tests\migrate\Kernel\MigrateTestBase extends \Drupal\migrate\MigrateMessageInterface implements \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of MigrateActionConfigsTest
File
-
core/
modules/ system/ tests/ src/ Kernel/ Migrate/ d6/ MigrateActionConfigsTest.php, line 13
Namespace
Drupal\Tests\system\Kernel\Migrate\d6View 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.