protected function DeployWebTestCase::restoreState in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.test \DeployWebTestCase::restoreState()
Restore state.
1 call to DeployWebTestCase::restoreState()
- DeployWebTestCase::switchSite in ./
deploy.test - Switch to a specific site.
File
- ./
deploy.test, line 164 - Deployment tests.
Class
- DeployWebTestCase
- Helper class.
Code
protected function restoreState($key) {
$this->cookieFile = $this->sites[$key]->cookieFile;
$this->databasePrefix = $this->sites[$key]->databasePrefix;
$this->curlHandle = $this->sites[$key]->curlHandle;
$this->cookieFile = $this->sites[$key]->cookieFile;
}