public function setUp()
 {
     parent::setUp();
     $serviceManagementRestProxy = $this->builder->createServiceManagementService(TestResources::getServiceManagementConnectionString());
     parent::setProxy($serviceManagementRestProxy);
     $result = $serviceManagementRestProxy->listLocations();
     $locations = $result->getLocations();
     $firstLocation = $locations[0];
     $this->createdStorageServices = array();
     $this->createdAffinityGroups = array();
     $this->createdHostedServices = array();
     $this->createdDeployments = array();
     $this->defaultLocation = $firstLocation->getName();
     $this->defaultSlot = DeploymentSlot::PRODUCTION;
     $this->defaultDeploymentConfiguration = file_get_contents(TestResources::simplePackageConfiguration());
     $this->complexConfiguration = file_get_contents(TestResources::complexPackageConfiguration());
     $this->storageServiceName = 'onesdkphp1234str';
 }
コード例 #2
0
 public function setUp()
 {
     parent::setUp();
     $this->_createDefaultProperties();
 }