MigrateActionConfigsTest.php in Drupal 9
File
core/modules/action/tests/src/Kernel/Migrate/d6/MigrateActionConfigsTest.php
View source
<?php
namespace Drupal\Tests\action\Kernel\Migrate\d6;
use Drupal\Tests\SchemaCheckTestTrait;
use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
class MigrateActionConfigsTest extends MigrateDrupal6TestBase {
use SchemaCheckTestTrait;
protected static $modules = [
'action',
];
protected function setUp() : void {
parent::setUp();
$this
->executeMigration('action_settings');
}
public function testActionSettings() {
$config = $this
->config('action.settings');
$this
->assertTrue($config
->isNew());
}
}