Commit c560e14e authored by Jeremy Mikola's avatar Jeremy Mikola

Fix Bucket::downloadToStreamByName() call in SpecificationTests

parent 8fa9aab9
...@@ -233,8 +233,8 @@ class SpecificationTests extends FunctionalTestCase ...@@ -233,8 +233,8 @@ class SpecificationTests extends FunctionalTestCase
{ {
$args = $this->fixTypes($args, false); $args = $this->fixTypes($args, false);
$stream = fopen('php://temp', 'w+'); $stream = fopen('php://temp', 'w+');
if(isset($args['options']['revision'])) { if(isset($args['options'])) {
$this->bucket->downloadToStreamByName($args['filename'], $stream, $args['options']['revision']); $this->bucket->downloadToStreamByName($args['filename'], $stream, $args['options']);
} else { } else {
$this->bucket->downloadToStreamByName($args['filename'], $stream); $this->bucket->downloadToStreamByName($args['filename'], $stream);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment