Fix Fortify Scan Issue:
[policy/engine.git] / ONAP-PAP-REST / src / test / java / org / onap / policy / pap / xacml / rest / components / PolicyDBDaoTest.java
index bba2afa..546c5c0 100644 (file)
@@ -441,21 +441,6 @@ public class PolicyDBDaoTest {
                em.close();
        }
        
-       @Test
-       public void encryptionTest(){
-               try {
-                       String encr = d.encryptPassword("testpassword");
-                       System.out.println("original password: "+"testpassword");
-                       System.out.println("Encrypted password: "+encr);
-                       String decr = d.decryptPassword(encr);
-                       System.out.println("Decrypted password: "+decr);
-                       Assert.assertEquals("testpassword", decr);
-               } catch (Exception e) {
-                       logger.error("Exception Occured"+e);
-                       Assert.fail();
-               }
-               
-       }
        @Test
        public void getDescriptionFromXacmlTest(){
                String myTestDesc = "hello this is a test";