function StandardRecipeInstallTest::visitInstaller

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php \Drupal\FunctionalTests\Core\Recipe\StandardRecipeInstallTest::visitInstaller()
  2. 10 core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php \Drupal\FunctionalTests\Core\Recipe\StandardRecipeInstallTest::visitInstaller()

Visits the interactive installer.

Parameters

array $query: Query parameters to pass to install.php.

Overrides InstallerTestBase::visitInstaller

File

core/tests/Drupal/FunctionalTests/Core/Recipe/StandardRecipeInstallTest.php, line 53

Class

StandardRecipeInstallTest
Tests installing the Standard recipe via the installer.

Namespace

Drupal\FunctionalTests\Core\Recipe

Code

protected function visitInstaller(array $query = []) : void {
  // Use a URL to install from a recipe.
  parent::visitInstaller([
    'profile' => '',
    'recipe' => 'core/recipes/standard',
  ]);
}

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