function RecipeCommandTest::testPassInput
Same name and namespace in other branches
- 11.x core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php \Drupal\FunctionalTests\Core\Recipe\RecipeCommandTest::testPassInput()
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeCommandTest.php, line 125
Class
- RecipeCommandTest
- Tests recipe command.
Namespace
Drupal\FunctionalTests\Core\RecipeCode
public function testPassInput() : void {
$dir = $this->getDrupalRoot() . '/core/tests/fixtures/recipes/input_test';
$this->applyRecipe($dir, options: [
'--input=input_test.owner=Test Owner',
]);
$this->assertSame("Test Owner'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.