diff --git a/.gitignore b/.gitignore index 5c5bb096..a49736a7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,4 +17,8 @@ run/core/minio-dotnet/obj/* run/core/minio-dotnet/out/* run/core/minio-go/main.go run/core/healthcheck/healthcheck -.idea/ \ No newline at end of file +.idea/ +.phive/ +.phplint.cache/ +build/versioning/tests +tools/ \ No newline at end of file diff --git a/run/core/aws-sdk-php/quick-tests.php b/run/core/aws-sdk-php/quick-tests.php index 806ab22f..99cd4871 100644 --- a/run/core/aws-sdk-php/quick-tests.php +++ b/run/core/aws-sdk-php/quick-tests.php @@ -1,6 +1,6 @@ [ - 'Bucket' => $bucket, - 'Key' => $object, - 'UploadId' => 'non-existent', - ], - ]; - runExceptionalTests($s3Client, 'abortMultipartUpload', 'getAwsErrorCode', $params); + $result = $s3Client->abortMultipartUpload([ + 'Bucket' => $bucket, + 'Key' => $object, + 'UploadId' => 'non-existent', + ]); + + if (getStatusCode($result) != HTTP_NOCONTENT) + throw new Exception('abortMultipartupload API failed for ' . + $bucket . '/' . $object); } /**