Skip to content

Commit 13a3340

Browse files
committed
💚(CLDSRV-799) remove CI fix for newer version
1 parent d7df49b commit 13a3340

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/api/bucketDeleteLifecycle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('deleteBucketLifecycle API', () => {
5151
next => metadata.getBucket(bucketName, log, (err, bucket, raftSessionId) => next(err, bucket)),
5252
], (err, results) => {
5353
assert.equal(err, null, `Expected success, got error: ${err}`);
54-
const bucket = results[2][0];
54+
const bucket = results[2];
5555
const lifecycleConfig = bucket.getLifecycleConfiguration();
5656
assert.equal(lifecycleConfig, null);
5757
done();

tests/unit/api/bucketDeletePolicy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('deleteBucketPolicy API', () => {
5757
next => metadata.getBucket(bucketName, log, (err, bucket, raftSessionId) => next(err, bucket)),
5858
], (err, results) => {
5959
assert.equal(err, null, `Expected success, got error: ${err}`);
60-
const bucket = results[2][0];
60+
const bucket = results[2];
6161
const bucketPolicy = bucket.getBucketPolicy();
6262
assert.equal(bucketPolicy, null);
6363
done();

0 commit comments

Comments
 (0)