Skip to content

Commit

Permalink
CR
Browse files Browse the repository at this point in the history
  • Loading branch information
Or-Geva committed Dec 26, 2023
1 parent fdfbda1 commit 3d9ffc3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void testReadEncryptedPropertyFile() throws IOException, InvalidAlgorithm
public void testReadEncryptedWindowsPath() throws IOException, InvalidAlgorithmParameterException, IllegalBlockSizeException, NoSuchPaddingException, BadPaddingException, NoSuchAlgorithmException, InvalidKeyException {
// Create property with windows path
String key = "path";
String value = "C:\\use\\home";
String value = "C:\\user\\home";
ArtifactoryClientConfiguration client = new ArtifactoryClientConfiguration(new NullLog());
Properties clientProps = new Properties();
clientProps.put(key, value);
Expand All @@ -95,7 +95,7 @@ public void testReadEncryptedWindowsPath() throws IOException, InvalidAlgorithmP
// Assert decrypted successfully.
Properties props = decryptPropertiesFromFile(tempFile.toString(), keyPair);
assertNotNull(props);
assertEquals(props.getProperty(key), client.getAllProperties().get(key));
assertEquals(props.getProperty(key), value);
}
}

Expand Down

0 comments on commit 3d9ffc3

Please sign in to comment.