You are here

protected function DeployWebTestCase::deployPlan in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 deploy.test \DeployWebTestCase::deployPlan()

Deploy the plan.

Parameters

string $name: Name of the deployment plan.

Return value

type

1 call to DeployWebTestCase::deployPlan()
DeployWebTestCase::runScenario in ./deploy.test
This method runs a deployment scenario where we have one production site (the endpoint) and a staging site (the origin).

File

./deploy.test, line 213
Deployment tests.

Class

DeployWebTestCase
Helper class.

Code

protected function deployPlan($name) {
  if (empty($name)) {
    return;
  }
  $plan = deploy_plan_load($name);
  $plan
    ->deploy();

  // Some processors depends on cron.
  $this
    ->cronRun();
}