File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4243,7 +4243,7 @@ public static function getService() {
42434243 'Parts ' => array (
42444244 'type ' => 'array ' ,
42454245 'location ' => 'xml ' ,
4246- 'sentAs ' => 'Parts ' ,
4246+ 'sentAs ' => 'Part ' ,
42474247 'data ' => array (
42484248 'xmlFlattened ' => true
42494249 ),
Original file line number Diff line number Diff line change @@ -1132,6 +1132,10 @@ public function testResumeUpload() {
11321132 'Body ' => substr ($ body , 0 , $ partSize ),
11331133 'UploadId ' => $ uploadId ,
11341134 'PartNumber ' => 1 ]);
1135+ $ rt = $ this ->cosClient ->ListParts (['Bucket ' => $ this ->bucket ,
1136+ 'Key ' => $ key ,
1137+ 'UploadId ' => $ uploadId ]);
1138+ $ this ->assertEquals (count ($ rt ['Parts ' ]), 1 );
11351139 $ this ->cosClient ->resumeUpload ($ bucket =$ this ->bucket ,
11361140 $ key =$ key ,
11371141 $ body =$ body ,
You can’t perform that action at this time.
0 commit comments