Skip to content

Commit db3b701

Browse files
author
Anirav Kareddy
committed
modified test cases to now include the new field name: encryptionContextOrMatDesc
1 parent 241889d commit db3b701

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/java/software/amazon/encryption/s3/internal/ContentMetadataStrategyTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void decodeWithObjectMetadata() {
4949
expectedContentMetadata = ContentMetadata.builder()
5050
.algorithmSuite(AlgorithmSuite.ALG_AES_256_GCM_IV12_TAG16_NO_KDF)
5151
.encryptedDataKeyAlgorithm(null)
52-
.encryptedDataKeyContext(new HashMap())
52+
.encryptionContextOrMatDesc(new HashMap())
5353
.contentIv(bytes)
5454
.build();
5555

src/test/java/software/amazon/encryption/s3/internal/ContentMetadataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void setUp() {
3535
.encryptedDataKey(encryptedDataKey)
3636
.contentIv(contentIv)
3737
.encryptedDataKeyAlgorithm(encryptedDataKeyAlgorithm)
38-
.encryptedDataKeyContext(encryptedDataKeyContext)
38+
.encryptionContextOrMatDesc(encryptedDataKeyContext)
3939
.build();
4040
}
4141

0 commit comments

Comments
 (0)