Skip to content

Commit 604f87e

Browse files
authored
test: fix incorrect time.getSeconds (#2378)
1 parent 838b56f commit 604f87e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎system-test/storage.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ describe('storage', () => {
16271627

16281628
it('should create a file with object retention enabled', async () => {
16291629
const time = new Date();
1630-
time.setMinutes(time.getSeconds() + 1);
1630+
time.setMinutes(time.getMinutes() + 1);
16311631
const retention = {mode: 'Unlocked', retainUntilTime: time.toISOString()};
16321632
const file = new File(objectRetentionBucket, fileName);
16331633
await objectRetentionBucket.upload(FILES.big.path, {

0 commit comments

Comments
 (0)