diff --git a/Storage/tests/System/ManageObjectsTest.php b/Storage/tests/System/ManageObjectsTest.php index d99acb1d9383..0bea7709b161 100644 --- a/Storage/tests/System/ManageObjectsTest.php +++ b/Storage/tests/System/ManageObjectsTest.php @@ -295,7 +295,7 @@ public function testSoftDeleteObject() $softDeleteBucketName, [ 'location' => 'us-west1', - 'softDeletePolicy' => ['retentionDurationSeconds' => 8*24*60*60] + 'softDeletePolicy' => ['retentionDurationSeconds' => 8 * 24 * 60 * 60] ] ); $object = $softDeleteBucket->upload(self::DATA, ['name' => uniqid(self::TESTING_PREFIX)]); @@ -349,7 +349,9 @@ public function testSoftDeleteHNSObject() 'generation' => $generation ]); - $restoredObject = $softDeleteHNSBucket->restore($object->name(), $generation, ['restoreToken' => $restoreToken]); + $restoredObject = $softDeleteHNSBucket->restore($object->name(), $generation, [ + 'restoreToken' => $restoreToken + ]); $this->assertNotEquals($generation, $restoredObject->info()['generation']); $this->assertStorageObjectExists($softDeleteHNSBucket, $restoredObject);