Exemplo n.º 1
0
 /**
  * Tears down this test case
  *
  * @return void
  */
 public function tearDown()
 {
     if (!$this->_config) {
         return;
     }
     // Delete the bucket here
     $s3 = new AmazonS3($this->_config->get(\Zend\Cloud\StorageService\Adapter\S3::AWS_ACCESS_KEY), $this->_config->get(\Zend\Cloud\StorageService\Adapter\S3::AWS_SECRET_KEY));
     $s3->removeBucket($this->_config->get(\Zend\Cloud\StorageService\Adapter\S3::BUCKET_NAME));
     parent::tearDown();
 }