MigrateFilterSettingsTest.php in Drupal 10
File
core/modules/filter/tests/src/Kernel/Migrate/d7/MigrateFilterSettingsTest.php
View source
<?php
namespace Drupal\Tests\filter\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
class MigrateFilterSettingsTest extends MigrateDrupal7TestBase {
protected static $modules = [
'filter',
];
protected function setUp() : void {
parent::setUp();
$this
->installConfig(static::$modules);
$this
->executeMigration('d7_filter_settings');
}
public function testFilterSettings() {
$this
->assertSame('plain_text', $this
->config('filter.settings')
->get('fallback_format'));
}
}