summaryrefslogtreecommitdiffstats
path: root/cadi/core/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'cadi/core/src/test')
-rw-r--r--cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java b/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java
index d86a0754..f61d1caf 100644
--- a/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java
+++ b/cadi/core/src/test/java/org/onap/aaf/cadi/lur/test/JU_LocalLur.java
@@ -48,8 +48,6 @@ import org.onap.aaf.cadi.lur.LocalPermission;
public class JU_LocalLur {
private static final String password = "<pass>";
- private String encrypted;
-
private PropAccess access;
private ByteArrayOutputStream outStream;
@@ -59,8 +57,6 @@ public class JU_LocalLur {
public void setup() throws IOException {
MockitoAnnotations.initMocks(this);
- encrypted = rot13(password);
-
outStream = new ByteArrayOutputStream();
access = new PropAccess(new PrintStream(outStream), new String[0]) {
@Override public String decrypt(String encrypted, boolean anytext) throws IOException {
@@ -75,6 +71,8 @@ public class JU_LocalLur {
@Test
public void test() throws IOException {
+ final String encrypted = rot13(password);
+
LocalLur lur;
List<AbsUserCache<LocalPermission>.DumpInfo> info;