File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,7 +357,10 @@ public function testSoftDeleteHNSObject()
357357 $ this ->assertStorageObjectExists ($ softDeleteHNSBucket , $ restoredObject );
358358 }
359359
360- public function testMoveObject ()
360+ /**
361+ * @dataProvider provideMoveObject
362+ */
363+ public function testMoveObject (bool $ hnEnabled )
361364 {
362365 $ name = "move-object-bucket- " . uniqid ();
363366 $ sourceObjectName = uniqid (self ::TESTING_PREFIX );
@@ -366,6 +369,7 @@ public function testMoveObject()
366369 self ::$ client ,
367370 $ name ,
368371 [
372+ 'hierarchicalNamespace ' => ['enabled ' => $ hnEnabled ],
369373 'iamConfiguration ' => ['uniformBucketLevelAccess ' => ['enabled ' => true ]]
370374 ]
371375 );
@@ -384,7 +388,12 @@ public function testMoveObject()
384388 $ this ->assertStorageObjectExists ($ sourceBucket , $ movedObject );
385389 }
386390
387- public function testRotatesCustomerSuppliedEncrpytion ()
391+ public function provideMoveObject ()
392+ {
393+ return [[true ], [false ]];
394+ }
395+
396+ public function testRotatesCustomerSuppliedEncryption ()
388397 {
389398 $ key = base64_encode (openssl_random_pseudo_bytes (32 ));
390399 $ options = [
You can’t perform that action at this time.
0 commit comments