Skip to content

Commit 5b0cbce

Browse files
author
Anirav Kareddy
committed
modified object_key + input values to match description of test functionality
1 parent ae7e20d commit 5b0cbce

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/java/software/amazon/encryption/s3/S3EncryptionClientMatDescTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ public void testRsaKeyringMatDescOverridesPutObjectEncryptionContext() {
311311
S3EncryptionClient client = S3EncryptionClient.builder()
312312
.keyring(rsaKeyring)
313313
.build();
314-
final String input = "Testing Materials Description in Instruction File!";
315-
final String objectKey = appendTestSuffix("test-rsa-materials-description-in-instruction-file");
314+
final String input = "Testing Materials Description in Instruction File and not Encryption Context!";
315+
final String objectKey = appendTestSuffix("test-rsa-materials-description-in-instruction-file-and-not-encryption-context");
316316
final String encryptionContext = "{\"admin\":\"yes\"}";
317317

318318
client.putObject(builder -> builder
@@ -333,8 +333,6 @@ public void testRsaKeyringMatDescOverridesPutObjectEncryptionContext() {
333333
assertEquals("1.0", matDescNode.asObject().get("version").asString());
334334
assertNull(matDescNode.asObject().get("admin"));
335335

336-
deleteObject(BUCKET, objectKey, client);
337-
338336
}
339337

340338
}

0 commit comments

Comments
 (0)