Skip to content

Commit

Permalink
aws-sdk-php: fix AWS S3 compatible fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Apr 22, 2018
1 parent c6ead73 commit 43488ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: bash
sudo: true
dist: trusty
sudo: required
addons:
apt:
packages:
Expand Down
4 changes: 2 additions & 2 deletions run/core/aws-sdk-php/quick-tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function testBucketExists(S3Client $s3Client) {
// Run failure tests
$params = [
// Invalid bucket name
'400' => ['Bucket' => $bucket['Name'] . '--'],
'404' => ['Bucket' => $bucket['Name'] . '--'],

// Non existent bucket
'404' => ['Bucket' => $bucket['Name'] . '-non-existent'],
Expand Down Expand Up @@ -646,7 +646,7 @@ function testGetBucketLocation($s3Client, $params) {
// Run failure tests.
$params = [
// InvalidBucketName test
'InvalidBucketName' => ['Bucket' => $bucket . '--'],
'NoSuchBucket' => ['Bucket' => $bucket . '--'],

// Bucket not found
'NoSuchBucket' => ['Bucket' => $bucket . '-non-existent'],
Expand Down

0 comments on commit 43488ef

Please sign in to comment.