From 38df1425f5f4e967ac7f27367599c852a52b8b7c Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 7 Jul 2015 10:45:43 +0200 Subject: Fix deprecated code --- .../sonar-process/src/test/java/org/sonar/process/AesCipherTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-process') 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 -- cgit v1.2.3