class MigrateActionConfigsTest
Same name in this branch
- 8.9.x core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php \Drupal\Tests\action\Kernel\Migrate\d6\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
- 10 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionConfigsTest
- 10 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionConfigsTest
- 9 core/modules/system/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d6\MigrateActionConfigsTest
- 9 core/modules/system/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php \Drupal\Tests\system\Kernel\Migrate\d7\MigrateActionConfigsTest
Upgrade variables to null.
@group migrate_drupal_7
Hierarchy
- class \Drupal\KernelTests\KernelTestBase implements \Drupal\Core\DependencyInjection\ServiceProviderInterface uses \Drupal\KernelTests\AssertLegacyTrait, \Drupal\KernelTests\AssertContentTrait, \Drupal\Tests\AssertHelperTrait, \Drupal\Tests\RandomGeneratorTrait, \Drupal\Tests\ConfigTestTrait, \Drupal\Tests\TestRequirementsTrait, \Drupal\Tests\PhpunitCompatibilityTrait extends \PHPUnit\Framework\TestCase
- class \Drupal\Tests\migrate\Kernel\MigrateTestBase implements \Drupal\migrate\MigrateMessageInterface extends \Drupal\KernelTests\KernelTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase extends \Drupal\Tests\migrate\Kernel\MigrateTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase uses \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait extends \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase
- class \Drupal\Tests\action\Kernel\Migrate\d7\MigrateActionConfigsTest uses \Drupal\Tests\SchemaCheckTestTrait extends \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase
- class \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase uses \Drupal\Tests\migrate_drupal\Traits\NodeMigrateTypeTestTrait extends \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase
- class \Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase extends \Drupal\Tests\migrate\Kernel\MigrateTestBase
- class \Drupal\Tests\migrate\Kernel\MigrateTestBase implements \Drupal\migrate\MigrateMessageInterface extends \Drupal\KernelTests\KernelTestBase
Expanded class hierarchy of MigrateActionConfigsTest
File
-
core/
modules/ action/ tests/ src/ Kernel/ Migrate/ d7/ MigrateActionConfigsTest.php, line 13
Namespace
Drupal\Tests\action\Kernel\Migrate\d7View source
class MigrateActionConfigsTest extends MigrateDrupal7TestBase {
use SchemaCheckTestTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'action',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
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());
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
MigrateActionConfigsTest::$modules | public static | property | |
MigrateActionConfigsTest::setUp | protected | function | |
MigrateActionConfigsTest::testActionSettings | public | function | Tests migration of action variables to null. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.