function RecipeCommandTest::testPassInvalidInput
File
-
core/
tests/ Drupal/ FunctionalTests/ Core/ Recipe/ RecipeCommandTest.php, line 130
Class
- RecipeCommandTest
- Tests recipe command.
Namespace
Drupal\FunctionalTests\Core\RecipeCode
public function testPassInvalidInput() : void {
$dir = $this->getDrupalRoot() . '/core/recipes/feedback_contact_form';
$process = $this->applyRecipe($dir, 1, options: [
'--input=feedback_contact_form.recipient=nobody',
]);
$this->assertStringContainsString('This value is not a valid email address.', $process->getErrorOutput());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.