function RecipeEventsTest::testRecipeAppliedEvent
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Recipe/RecipeEventsTest.php \Drupal\KernelTests\Core\Recipe\RecipeEventsTest::testRecipeAppliedEvent()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ RecipeEventsTest.php, line 51
Class
- RecipeEventsTest
- @group Recipe
Namespace
Drupal\KernelTests\Core\RecipeCode
public function testRecipeAppliedEvent() : void {
$recipe = Recipe::createFromDirectory('core/tests/fixtures/recipes/recipe_include');
RecipeRunner::processRecipe($recipe);
$this->assertSame([
'Install node with config',
'Recipe include',
], $this->recipesApplied);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.