protected function DeployWebTestCase::saveState in Deploy - Content Staging 7.3
Same name and namespace in other branches
- 7.2 deploy.test \DeployWebTestCase::saveState()
Save state.
1 call to DeployWebTestCase::saveState()
- DeployWebTestCase::setUpSite in ./
deploy.test - Set up a new site.
File
- ./
deploy.test, line 145 - Deployment tests.
Class
- DeployWebTestCase
- Helper class.
Code
protected function saveState($key) {
if (!isset($this->sites[$key])) {
$this->sites[$key] = new stdClass();
}
$this->sites[$key]->cookieFile = $this->cookieFile;
$this->sites[$key]->databasePrefix = $this->databasePrefix;
$this->sites[$key]->curlHandle = $this->curlHandle;
$this->sites[$key]->cookieFile = $this->cookieFile;
}