You are here

public function MigrateAcquiaSearchConfigurationTest::testConfigurationMigration in Acquia Search 3.x

Tests that all expected configuration gets migrated.

File

tests/src/Kernel/Migrate/d7/MigrateAcquiaSearchConfigurationTest.php, line 56

Class

MigrateAcquiaSearchConfigurationTest
Migrates various configuration objects owned by the acquia search module.

Namespace

Drupal\Tests\acquia_search\Kernel\Migrate\d7

Code

public function testConfigurationMigration() {
  foreach ($this->expectedConfig as $config_id => $values) {
    $actual = \Drupal::config($config_id)
      ->get();
    $this
      ->assertSame($values, $actual);
  }
}