function RecipeCommandTest::testPassInvalidInput

File

core/tests/Drupal/FunctionalTests/Core/Recipe/RecipeCommandTest.php, line 133

Class

RecipeCommandTest
Tests recipe command.

Namespace

Drupal\FunctionalTests\Core\Recipe

Code

public function testPassInvalidInput() : void {
  $dir = $this->getDrupalRoot() . '/core/tests/fixtures/recipes/input_test';
  $process = $this->applyRecipe($dir, 1, options: [
    '--input=input_test.owner=hack',
  ]);
  $this->assertStringContainsString("I don't think you should be owning sites.", $process->getErrorOutput());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.