File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/software/amazon/encryption/s3 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public static void setUp() throws NoSuchAlgorithmException {
5353 public void testAesMaterialsDescriptionInObjectMetadata () {
5454 AesKeyring aesKeyring = AesKeyring .builder ()
5555 .wrappingKey (AES_KEY )
56- . secureRandom ( new SecureRandom ())
56+
5757 .materialsDescription (MaterialsDescription .builder ()
5858 .put ("version" , "1.0" )
5959 .build ())
@@ -123,7 +123,7 @@ public void testRsaMaterialsDescriptionInObjectMetadata() {
123123 public void testAesMaterialsDescriptionInInstructionFile () {
124124 AesKeyring aesKeyring = AesKeyring .builder ()
125125 .wrappingKey (AES_KEY )
126- . secureRandom ( new SecureRandom ())
126+
127127 .materialsDescription (MaterialsDescription .builder ()
128128 .put ("version" , "1.0" )
129129 .build ())
@@ -227,7 +227,7 @@ public void testRsaMaterialsDescriptionInInstructionFile() {
227227 public void testAesKeyringMatDescOverridesPutObjectEncryptionContext () {
228228 AesKeyring aesKeyring = AesKeyring .builder ()
229229 .wrappingKey (AES_KEY )
230- . secureRandom ( new SecureRandom ())
230+
231231 .materialsDescription (MaterialsDescription .builder ()
232232 .put ("version" , "1.0" )
233233 .build ())
You can’t perform that action at this time.
0 commit comments