Merge pull request #11726 from owncloud/s3-fixunittests

Fix S3 folder creation for new AWS API
This commit is contained in:
Morris Jobke 2014-10-23 12:35:44 +02:00
commit ca01530f57

View file

@ -156,6 +156,7 @@ class AmazonS3 extends \OC\Files\Storage\Common {
$this->getConnection()->putObject(array( $this->getConnection()->putObject(array(
'Bucket' => $this->bucket, 'Bucket' => $this->bucket,
'Key' => $path . '/', 'Key' => $path . '/',
'Body' => '',
'ContentType' => 'httpd/unix-directory' 'ContentType' => 'httpd/unix-directory'
)); ));
$this->testTimeout(); $this->testTimeout();