You are here

public function MigrateIngredientSettings71Test::testMigration in Recipe 8.2

Tests migration of ingredient variables to configuration.

File

modules/ingredient/tests/src/Kernel/Migrate/recipe71/MigrateIngredientSettings71Test.php, line 29

Class

MigrateIngredientSettings71Test
Tests migration of Recipe 7.x-1.x ingredient variables to configuration.

Namespace

Drupal\Tests\ingredient\Kernel\Migrate\recipe71

Code

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