You are here

public function MigrateTrackerSettingsTest::testMigration in Drupal 8

Same name and namespace in other branches
  1. 9 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
    ->assertIdentical(999, \Drupal::config('tracker.settings')
    ->get('cron_index_limit'));
}