function ConfigActionValidationTest::testConfigActionDependenciesAreValidated
Same name in other branches
- 10 core/tests/Drupal/KernelTests/Core/Recipe/ConfigActionValidationTest.php \Drupal\KernelTests\Core\Recipe\ConfigActionValidationTest::testConfigActionDependenciesAreValidated()
Tests validating that config actions' dependencies are present.
Tests that the all of the config listed in a recipe's config actions are provided by extensions that will be installed by the recipe, or one of its dependencies (no matter how deeply nested).
@testWith ["direct_dependency"] ["indirect_dependency_one_level_down"] ["indirect_dependency_two_levels_down"]
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Recipe/ ConfigActionValidationTest.php, line 108
Class
- ConfigActionValidationTest
- @group Recipe
Namespace
Drupal\KernelTests\Core\RecipeCode
public function testConfigActionDependenciesAreValidated(string $name) : void {
Recipe::createFromDirectory("core/tests/fixtures/recipes/config_actions_dependency_validation/{$name}");
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.