diff options
author | David Gageot <david@gageot.net> | 2015-07-07 10:45:43 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-07-07 11:36:26 +0200 |
commit | 38df1425f5f4e967ac7f27367599c852a52b8b7c (patch) | |
tree | 3faba18cb31f6b9c77c356be775cdb10e44a6a6b /server/sonar-process | |
parent | a6f8589f7015886ba1a325ce6955d27d65da07cf (diff) | |
download | sonarqube-38df1425f5f4e967ac7f27367599c852a52b8b7c.tar.gz sonarqube-38df1425f5f4e967ac7f27367599c852a52b8b7c.zip |
Fix deprecated code
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/test/java/org/sonar/process/AesCipherTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-process/src/test/java/org/sonar/process/AesCipherTest.java b/server/sonar-process/src/test/java/org/sonar/process/AesCipherTest.java index fd94c291d0a..4ac2dad3ea8 100644 --- a/server/sonar-process/src/test/java/org/sonar/process/AesCipherTest.java +++ b/server/sonar-process/src/test/java/org/sonar/process/AesCipherTest.java @@ -48,7 +48,7 @@ public class AesCipherTest { String key = cipher.generateRandomSecretKey(); assertThat(StringUtils.isNotBlank(key)).isTrue(); - assertThat(Base64.isArrayByteBase64(key.getBytes())).isTrue(); + assertThat(Base64.isBase64(key.getBytes())).isTrue(); } @Test @@ -58,7 +58,7 @@ public class AesCipherTest { String encryptedText = cipher.encrypt("this is a secret"); assertThat(StringUtils.isNotBlank(encryptedText)).isTrue(); - assertThat(Base64.isArrayByteBase64(encryptedText.getBytes())).isTrue(); + assertThat(Base64.isBase64(encryptedText.getBytes())).isTrue(); } @Test |