You are here

public function MigrateIngredientSettings61Test::testMigration in Recipe 8.2

Tests migration of ingredient variables to configuration.

File

modules/ingredient/tests/src/Kernel/Migrate/recipe61/MigrateIngredientSettings61Test.php, line 29

Class

MigrateIngredientSettings61Test
Tests migration of Recipe 6.x-1.x ingredient variables to configuration.

Namespace

Drupal\Tests\ingredient\Kernel\Migrate\recipe61

Code

public function testMigration() {
  $config = \Drupal::config('ingredient.settings')
    ->get();
  $this
    ->assertSame(1, $config['ingredient_name_normalize']);
}