예제 #1
0
 /**
  * Sets up this test case
  *
  * @return void
  */
 public function setUp()
 {
     if (!constant('TESTS_ZEND_SERVICE_RACKSPACE_ONLINE_ENABLED')) {
         $this->markTestSkipped('Rackspace online tests are not enabled');
     }
     parent::setUp();
     $this->_waitPeriod = 5;
     // Create the container here
     $rackspace = new RackspaceService($this->_config->get(\ZendCloud\StorageService\Adapter\Rackspace::USER), $this->_config->get(\ZendCloud\StorageService\Adapter\Rackspace::API_KEY));
     $rackspace->createContainer($this->_config->get(\ZendCloud\StorageService\Adapter\Rackspace::REMOTE_CONTAINER));
 }