function MigrateTrackerSettingsTest::testMigration

Same name in other branches
  1. 8.9.x 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()
  3. 11.x 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 26

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'));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.