MigrateTrackerSettingsTest.php in Drupal 9
File
core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php
View source
<?php
namespace Drupal\Tests\tracker\Kernel\Migrate\d7;
use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase;
class MigrateTrackerSettingsTest extends MigrateDrupal7TestBase {
protected static $modules = [
'tracker',
];
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'tracker',
]);
$this
->executeMigration('d7_tracker_settings');
}
public function testMigration() {
$this
->assertSame(999, \Drupal::config('tracker.settings')
->get('cron_index_limit'));
}
}