MigrateActionConfigsTest.php in Drupal 9
File
core/modules/action/tests/src/Kernel/Migrate/d7/MigrateActionConfigsTest.php
View source
<?php
namespace Drupal\Tests\action\Kernel\Migrate\d7;
use Drupal\Tests\SchemaCheckTestTrait;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
class MigrateActionConfigsTest extends MigrateDrupal7TestBase {
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());
}
}