You are here

public function MigrateTrackerSettingsTest::testMigration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateTrackerSettingsTest::testMigration()
  2. 10 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateTrackerSettingsTest::testMigration()

Tests migration of tracker's variables to configuration.

File

core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerSettingsTest.php, line 28

Class

MigrateTrackerSettingsTest
Tests migration of Tracker settings to configuration.

Namespace

Drupal\Tests\tracker\Kernel\Migrate\d7

Code

public function testMigration() {
  $this
    ->assertSame(999, \Drupal::config('tracker.settings')
    ->get('cron_index_limit'));
}