Skip to content

Commit 3a5c9a6

Browse files
author
Anirav Kareddy
committed
fixed some more test cases
1 parent d1eecbf commit 3a5c9a6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ public void testReEncryptInstructionFileV2AesToV3() {
686686
}
687687

688688
@Test
689-
public void testReEncryptInstructionFileWithCustomSuffixUpgradesV2RsaToV3() throws IOException {
689+
public void testReEncryptInstructionFileWithCustomSuffixV2RsaToV3() throws IOException {
690690
final String input = "Testing re-encryption of instruction file with RSA keyrings from V2 to V3";
691691
final String objectKey = appendTestSuffix("v2-rsa-to-v3-re-encrypt-instruction-file-with-custom-suffix-test");
692692

@@ -808,7 +808,7 @@ public void testReEncryptInstructionFileWithCustomSuffixUpgradesV2RsaToV3() thro
808808
}
809809

810810
@Test
811-
public void testReEncryptInstructionFileUpgradesV2RsaToV3() throws IOException {
811+
public void testReEncryptInstructionFileV2RsaToV3() throws IOException {
812812
final String input = "Testing re-encryption of instruction file with RSA keyrings from V2 to V3";
813813
final String objectKey = appendTestSuffix("v2-rsa-to-v3-re-encrypt-instruction-file-test");
814814

@@ -863,7 +863,6 @@ public void testReEncryptInstructionFileUpgradesV2RsaToV3() throws IOException {
863863
.wrappingKeyPair(newPartialRsaKeyPair)
864864
.materialsDescription(MaterialsDescription.builder()
865865
.put("rotated", "yes")
866-
.put("isLegacy", "no")
867866
.build())
868867
.build();
869868

0 commit comments

Comments
 (0)