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