function CoreRecipesTest::testApplyRecipe

Same name in other branches
  1. 10 core/tests/Drupal/FunctionalTests/Core/Recipe/CoreRecipesTest.php \Drupal\FunctionalTests\Core\Recipe\CoreRecipesTest::testApplyRecipe()

Test the recipe apply.

@dataProvider providerApplyRecipe

Parameters

string $path: The path to the recipe file.

File

core/tests/Drupal/FunctionalTests/Core/Recipe/CoreRecipesTest.php, line 67

Class

CoreRecipesTest
Tests applying all core-provided recipes on top of the Empty profile.

Namespace

Drupal\FunctionalTests\Core\Recipe

Code

public function testApplyRecipe(string $path) : void {
    $this->setUpCurrentUser(admin: TRUE);
    $this->applyRecipe($path);
}

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