Merge pull request #11726 from owncloud/s3-fixunittests
Fix S3 folder creation for new AWS API
This commit is contained in:
commit
ca01530f57
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue