Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thiyaguk09 committed Oct 29, 2024
1 parent f7d79c3 commit 3f5079e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Storage/tests/System/ManageObjectsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)]);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3f5079e

Please sign in to comment.