Skip to content

Commit

Permalink
Update to AWS SDK 2.8.19-p1
Browse files Browse the repository at this point in the history
  • Loading branch information
deviantintegral committed Sep 1, 2015
1 parent c6ad1b5 commit 38e6814
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"aws/aws-sdk-php": "2.8.6-p1",
"aws/aws-sdk-php": "2.8.19-p1",
"capgemini/drupal_doctrine_cache": "0.0.1-p1",
"doctrine/cache": "~1.4"
},
Expand Down
8 changes: 7 additions & 1 deletion tests/StreamWrapperTest.php
Expand Up @@ -543,7 +543,13 @@ public function testAutomaticUri() {
$wrapper = new StreamWrapper();
$path = NULL;
$uri = 's3://bucket.example.com/image.jpg';
$wrapper->stream_open($uri, 'r', 0, $path);
try {
$wrapper->stream_open($uri, 'r', 0, $path);
}
catch (\PHPUnit_Framework_Error_Warning $e) {
// This throws a warning because we aren't mocking any calls, but we don't
// care because we just want to call getUri().
}
$this->assertEquals($uri, $wrapper->getUri());

// Instantiate the AWS service builder.
Expand Down

0 comments on commit 38e6814

Please sign in to comment.