function RecipeCommandTest::testDefaultInputValueFromConfig
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeCommandTest.php, line 138
Class
- RecipeCommandTest
- Tests recipe command.
Namespace
Drupal\FunctionalTests\Core\RecipeCode
public function testDefaultInputValueFromConfig() : void {
$this->config('system.site')
->set('mail', 'goodbye@hello.net')
->save();
$this->applyRecipe($this->getDrupalRoot() . '/core/recipes/feedback_contact_form');
$this->assertSame([
'goodbye@hello.net',
], ContactForm::load('feedback')?->getRecipients());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.