function RecipeCommandTest::testDefaultInputValueFromConfig
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php \Drupal\FunctionalTests\Core\Recipe\RecipeCommandTest::testDefaultInputValueFromConfig()
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeCommandTest.php, line 141
Class
- RecipeCommandTest
- Tests recipe command.
Namespace
Drupal\FunctionalTests\Core\RecipeCode
public function testDefaultInputValueFromConfig() : void {
// Test that default values are used when no input is provided
$this->applyRecipe($this->getDrupalRoot() . '/core/tests/fixtures/recipes/input_test');
$this->assertSame("Dries Buytaert's Turf", $this->config('system.site')
->get('name'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.