Skip to content

Commit 95c52a2

Browse files
committed
reenable all multiple backend tests
1 parent 1a1ad15 commit 95c52a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/functional/aws-node-sdk/test/object/putVersion.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ describe('PUT object with x-scal-s3-version-id header', () => {
121121
vId = res.VersionId;
122122
return next();
123123
}),
124-
next => fakeMetadataArchive(bucketName, objectName, vId, archive, next),
125124
next => putObjectVersion(s3, params, 'aJLWKz4Ko9IjBBgXKj5KQT.G9UHv0g7P', err => {
125+
// Server returns BadRequest for invalid version ID
126+
assert.strictEqual(err.name, 'BadRequest');
126127
assert.strictEqual(err.$metadata.httpStatusCode, 400);
127128
return next();
128129
}),

0 commit comments

Comments
 (0)